dunders 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +212 -21
- data/_includes/comments.html +0 -0
- data/_includes/footer.html +0 -0
- data/_includes/head.html +2 -0
- data/_includes/header.html +0 -0
- data/_includes/navigation-menu.html +0 -0
- data/_includes/pagination.html +3 -3
- data/_layouts/default.html +0 -0
- data/_layouts/page.html +0 -0
- data/_layouts/post.html +0 -0
- data/_sass/module.sass +1 -0
- data/about.md +0 -0
- data/archive.html +0 -0
- data/assets/images/dunders.png +0 -0
- data/assets/images/icons/apple-icon-114x114.png +0 -0
- data/assets/images/icons/apple-icon-120x120.png +0 -0
- data/assets/images/icons/apple-icon-144x144.png +0 -0
- data/assets/images/icons/apple-icon-152x152.png +0 -0
- data/assets/images/icons/apple-icon-180x180.png +0 -0
- data/assets/images/icons/apple-icon-57x57.png +0 -0
- data/assets/images/icons/apple-icon-60x60.png +0 -0
- data/assets/images/icons/apple-icon-72x72.png +0 -0
- data/assets/images/icons/apple-icon-76x76.png +0 -0
- data/assets/images/icons/apple-icon-precomposed.png +0 -0
- data/assets/images/icons/apple-icon.png +0 -0
- data/assets/images/icons/favicon-16x16.png +0 -0
- data/assets/images/icons/favicon-32x32.png +0 -0
- data/assets/images/icons/favicon-96x96.png +0 -0
- data/assets/images/icons/favicon.ico +0 -0
- data/assets/images/site-shared-image.png +0 -0
- data/categories.html +0 -0
- data/contact.html +0 -0
- data/index.html +0 -0
- data/robots.txt +0 -0
- data/screenshot.png +0 -0
- data/tags.html +0 -0
- metadata +6 -8
- data/_config.yml +0 -69
- data/_sass/main.sass +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51122661ad1a9d781360524a66f024c301cef89a
|
4
|
+
data.tar.gz: 5ca1a1b59e23390b484f9e8c8a29f8f193259eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3243584926742f1bd4a30d64f6b09cc0be7b3c0c486daac57b5c461a7e4ba6f53a2141f8a5d12f2442c3df6b4afb65af0d5e97dd226dc527f6256f0b2a02c60b
|
7
|
+
data.tar.gz: eb5446879e226c2fee64a77d7a9ba7c98d1f324bc55a00c3578c37db28a8f3e485cbaac9391117216e738d1e8f592c457d18d6561511b7b2d0fe0d0ab341f204
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2016 William Oliveira
|
3
|
+
Copyright (c) 2016 - present William Oliveira <w.oliveira542@gmail.com>
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,46 +1,237 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<img src="/assets/images/icons/favicon-96x96.png" alt="Dunders logo">
|
3
|
+
</p>
|
2
4
|
|
3
|
-
__s
|
5
|
+
# __s
|
6
|
+
|
7
|
+
__s, or dunders, is a clean Jekyll Starter Theme.
|
4
8
|
|
5
9
|
*The name of this project is a tribute to [Underscores](https://github.com/automattic/_s) project.*
|
6
10
|
|
7
|
-
##
|
11
|
+
## What a hell is dunder?
|
12
|
+
|
13
|
+
Dunder is [double underscore](https://wiki.python.org/moin/DunderAlias), used in Python codes.
|
14
|
+
|
15
|
+
## [Demo](https://woliveiras.com.br/dunders.demo/)
|
16
|
+
|
17
|
+
## Why I create Dunders?
|
18
|
+
|
19
|
+
Whenever I search for a Jekyll Theme I found some project with [Bootstrap](http://getbootstrap.com/), [jQuery](https://jquery.com/) or a structure of theme a little disorganized. I dont like disorder. :/
|
20
|
+
|
21
|
+
CSS files with several lines of code. HTML not semantic or JavaScript not very good.
|
22
|
+
|
23
|
+
This saddens me.
|
24
|
+
|
25
|
+
Because this, I made this scaffold to themes Jekyll!!!
|
26
|
+
|
27
|
+
Don't have CSS, don't have JS, and the HTML is clean to you add your structure. Is very basic structure, easy to change.
|
28
|
+
|
29
|
+
Use your imagination to build a awesome sites with Dunders.
|
30
|
+
|
31
|
+
## Who should use Dunders
|
32
|
+
|
33
|
+
Dunders is for people who want to create themes from zero with a simple initial structure.
|
34
|
+
|
35
|
+
Use if you want to implement:
|
36
|
+
|
37
|
+
- BEMCSS
|
38
|
+
- Atomic
|
39
|
+
- SMACSS
|
40
|
+
- SVG
|
41
|
+
- Structured Data (Schema.org)
|
42
|
+
- etc
|
43
|
+
|
44
|
+
It's for you to release your imagination.
|
45
|
+
|
46
|
+
## How to use
|
47
|
+
|
48
|
+
Make a folder of your new awesome Jekyll Theme.
|
49
|
+
|
50
|
+
Eg.:
|
8
51
|
|
9
|
-
|
52
|
+
```
|
53
|
+
mkdir demo
|
54
|
+
```
|
55
|
+
|
56
|
+
Enter on theme folder and clone this repo.
|
10
57
|
|
11
|
-
```
|
12
|
-
|
58
|
+
```
|
59
|
+
git clone git@github.com:woliveiras/__s.git .
|
13
60
|
```
|
14
61
|
|
15
|
-
|
62
|
+
Run Bundle, to install dependencies:
|
16
63
|
|
17
|
-
```
|
18
|
-
|
64
|
+
```
|
65
|
+
bundle
|
19
66
|
```
|
20
67
|
|
21
|
-
|
68
|
+
Up the Jekyll Server:
|
22
69
|
|
23
|
-
|
70
|
+
```
|
71
|
+
jekyll s
|
72
|
+
```
|
24
73
|
|
25
|
-
|
74
|
+
And open `localhost:4000` on Browser.
|
26
75
|
|
27
|
-
|
76
|
+
Now, make your GREAT THEME!!! :raised_hands:
|
28
77
|
|
29
|
-
##
|
78
|
+
## Creating draft, posts, pages, publish and unpublish
|
30
79
|
|
31
|
-
|
80
|
+
The __s use a plugin named [jekyll-compose](https://github.com/jekyll/jekyll-compose), this serves to make our life easier at the time of creation of posts, pages and publish our posts.
|
32
81
|
|
33
|
-
|
82
|
+
To use, is simple:
|
34
83
|
|
35
|
-
|
84
|
+
Listed in help you will see new commands available to you:
|
36
85
|
|
37
|
-
|
86
|
+
```
|
87
|
+
draft # Creates a new draft post with the given NAME
|
88
|
+
post # Creates a new post with the given NAME
|
89
|
+
publish # Moves a draft into the _posts directory and sets the date
|
90
|
+
unpublish # Moves a post back into the _drafts directory
|
91
|
+
page # Creates a new page with the given NAME
|
92
|
+
```
|
93
|
+
|
94
|
+
Create your new page using:
|
38
95
|
|
39
|
-
|
96
|
+
```
|
97
|
+
$ bundle exec jekyll page "My New Page"
|
98
|
+
```
|
99
|
+
|
100
|
+
Create your new post using:
|
101
|
+
|
102
|
+
```
|
103
|
+
$ bundle exec jekyll post "My New Post"
|
104
|
+
```
|
40
105
|
|
41
|
-
|
106
|
+
Create your new draft using:
|
42
107
|
|
43
|
-
|
108
|
+
```
|
109
|
+
$ bundle exec jekyll draft "My new draft"
|
110
|
+
```
|
111
|
+
|
112
|
+
Publish your draft using:
|
113
|
+
|
114
|
+
```
|
115
|
+
$ bundle exec jekyll publish _drafts/my-new-draft.md
|
116
|
+
# or specify a specific date on which to publish it
|
117
|
+
$ bundle exec jekyll publish _drafts/my-new-draft.md --date 2014-01-24
|
118
|
+
```
|
119
|
+
|
120
|
+
Unpublish your post using:
|
121
|
+
|
122
|
+
```
|
123
|
+
$ bundle exec jekyll unpublish _posts/2014-01-24-my-new-draft.md
|
124
|
+
```
|
125
|
+
|
126
|
+
## Structure proposed with Dunders (isn't mandatory)
|
127
|
+
|
128
|
+
**assets**
|
129
|
+
|
130
|
+
Folder to your images or css or js.
|
131
|
+
|
132
|
+
**_includes**
|
133
|
+
|
134
|
+
Some partials of site structure.
|
135
|
+
|
136
|
+
- **comments.html:** Disqus partial
|
137
|
+
- **footer.html:** the footer of site
|
138
|
+
- **head.html:** head of html document
|
139
|
+
- **header.html:** the header of site
|
140
|
+
- **navigation-menu.html:** a example of navigation menu
|
141
|
+
- **pagination.html:** simple pagination to show posts (if you are making a Blog theme)
|
142
|
+
|
143
|
+
**_layouts**
|
144
|
+
|
145
|
+
The scaffolding of Jekyll structure.
|
146
|
+
|
147
|
+
Look [here](https://jekyllrb.com/docs/themes/#layouts-and-includes) for more info of these files.
|
148
|
+
|
149
|
+
**_sass**
|
150
|
+
|
151
|
+
If you like [Sass](sass-lang.com) writes your styles on this folder!
|
152
|
+
|
153
|
+
**Other files**
|
154
|
+
|
155
|
+
- **about.md:** about you (or user) page
|
156
|
+
- **archive.html:** posts archive page
|
157
|
+
- **categories.html:** post categories page
|
158
|
+
- **tags.html:** tags page, like a categories or archive pages
|
159
|
+
- **CNAME:** very important for use custom domain on GitHub, look [here](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)
|
160
|
+
- **_config.yml:** Theme configuration file, look Dunders Configuration section
|
161
|
+
- **contact.html:** contact page using formspree.io to send messages
|
162
|
+
- **index.html:** the index of site
|
163
|
+
- **robots.txt:** very important for SEO, look [here](http://www.robotstxt.org/robotstxt.html)
|
164
|
+
- **screenshot.png:** use this to show a screenshot of your theme on theme sites such as [jekylthemes.org](http://jekyllthemes.org/)
|
165
|
+
|
166
|
+
## How to write posts
|
167
|
+
|
168
|
+
Follow the Jekyll workflow: https://jekyllrb.com/docs/posts/
|
169
|
+
|
170
|
+
## Dunders configuration
|
171
|
+
|
172
|
+
The Jekyll theme is configured by _config.yml file.
|
173
|
+
|
174
|
+
It is very important that you configure carefully this file changing the lines for your necessities:
|
175
|
+
|
176
|
+
```
|
177
|
+
# Site settings
|
178
|
+
|
179
|
+
title: Dunders | A Starter Theme for Jekyll # put your blog title
|
180
|
+
description: Faster to start a new Jekyll theme # put your description for your amazing blog
|
181
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
182
|
+
url: "" # the base hostname & protocol for your site e.g. https://woliveiras.com.br
|
183
|
+
language: "" # language to set into html tag, default is en
|
184
|
+
paginate: 5 # Number of posts on each page
|
185
|
+
paginate_path: "/page/:num" # links format for pagination
|
186
|
+
date_format: "%b %-d, %Y" # dateformat of reading list, post date, and more
|
187
|
+
permalink: /:title/ # use to url friendly
|
188
|
+
timezone: # timezone to show in yout sire
|
189
|
+
display-author-front-page: # True if you need show author name and site on home page
|
190
|
+
display-author-post-page: true # Very usual for guest posts and the infos of author are writen in header of post.md, by default show infos of user settings
|
191
|
+
|
192
|
+
# Useful for translating into other languages.
|
193
|
+
|
194
|
+
var_on_the_web: On the web
|
195
|
+
var_read: Continue...
|
196
|
+
var_newer: Newers
|
197
|
+
var_older: Olders
|
198
|
+
var_next_post: Next
|
199
|
+
var_previous_post: Previous
|
200
|
+
var_less_than_a_minute_read: < 1 min read
|
201
|
+
var_min_read: min read # Text after reading time. Example: 5 min read.
|
202
|
+
var_post_by: Writed by
|
203
|
+
var_guest_post_by: Guest post by
|
204
|
+
var_your_email: Your mail
|
205
|
+
var_your_message: Your message
|
206
|
+
var_page_indicator: Page
|
207
|
+
var_page_indicator_separator: of
|
208
|
+
|
209
|
+
# User settings
|
210
|
+
|
211
|
+
author: dunders # put your name or a name of principal author of site/blog
|
212
|
+
email: dunders@dunders.com
|
213
|
+
twitter_username: dunders
|
214
|
+
github_username: dunders
|
215
|
+
gplus_username: dunders
|
216
|
+
disqus_shortname: dunders-website
|
217
|
+
|
218
|
+
# Navigation menu
|
219
|
+
links:
|
220
|
+
- title: Home
|
221
|
+
url: /
|
222
|
+
- title: About Me
|
223
|
+
url: /about
|
224
|
+
- title: Archive
|
225
|
+
url: /archive
|
226
|
+
- title: Contact
|
227
|
+
url: /contact
|
228
|
+
- title: Categories
|
229
|
+
url: /categories
|
230
|
+
```
|
231
|
+
|
232
|
+
## Contributing
|
233
|
+
|
234
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/woliveiras/__s/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
44
235
|
|
45
236
|
## License
|
46
237
|
|
data/_includes/comments.html
CHANGED
File without changes
|
data/_includes/footer.html
CHANGED
File without changes
|
data/_includes/head.html
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="UTF-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
4
5
|
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
5
6
|
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
6
7
|
<link rel="author" href="https://plus.google.com/{{ site.gplus_username }}?rel=author">
|
8
|
+
<link rel="stylesheet" href="/css/styles.css">
|
7
9
|
<meta name="twitter:card" content="summary_large_image">
|
8
10
|
<meta name="twitter:site" content="@{{ site.twitter_username }}">
|
9
11
|
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
data/_includes/header.html
CHANGED
File without changes
|
File without changes
|
data/_includes/pagination.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
<div>
|
2
2
|
<ul>
|
3
3
|
{% if paginator.previous_page %}
|
4
|
-
<li><a href="{{ paginator.previous_page_path }}">{{ site.var_previous_post }}</a></li>
|
4
|
+
<li><a href="{{ paginator.previous_page_path }}" rel="prev">{{ site.var_previous_post }}</a></li>
|
5
5
|
{% else %}
|
6
6
|
<li><span>{{ site.var_previous_post }}</span></li>
|
7
7
|
{% endif %}
|
8
8
|
<li><span>{{ site.var_page_indicator }} {{ paginator.page }} {{ site.var_page_indicator_separator }} {{ paginator.total_pages }}</span></li>
|
9
9
|
{% if paginator.next_page %}
|
10
|
-
<li><a href="{{ paginator.next_page_path }}">{{ site.var_next_post }}</a></li>
|
10
|
+
<li><a href="{{ paginator.next_page_path }}" rel="next">{{ site.var_next_post }}</a></li>
|
11
11
|
{% else %}
|
12
12
|
<li><span>{{ site.var_next_post }}</span></li>
|
13
13
|
{% endif %}
|
14
14
|
</ul>
|
15
|
-
</div>
|
15
|
+
</div>
|
data/_layouts/default.html
CHANGED
File without changes
|
data/_layouts/page.html
CHANGED
File without changes
|
data/_layouts/post.html
CHANGED
File without changes
|
data/_sass/module.sass
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
|
data/about.md
CHANGED
File without changes
|
data/archive.html
CHANGED
File without changes
|
data/assets/images/dunders.png
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/categories.html
CHANGED
File without changes
|
data/contact.html
CHANGED
File without changes
|
data/index.html
CHANGED
File without changes
|
data/robots.txt
CHANGED
File without changes
|
data/screenshot.png
CHANGED
File without changes
|
data/tags.html
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dunders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- William Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -52,8 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description:
|
56
|
-
the project page for more informations: https://github.com/woliveiras/__s'
|
55
|
+
description: A starter theme for Jekyll, based on Underscores for WordPress
|
57
56
|
email:
|
58
57
|
- w.oliveira542@gmail.com
|
59
58
|
executables: []
|
@@ -62,7 +61,6 @@ extra_rdoc_files: []
|
|
62
61
|
files:
|
63
62
|
- LICENSE
|
64
63
|
- README.md
|
65
|
-
- _config.yml
|
66
64
|
- _includes/comments.html
|
67
65
|
- _includes/footer.html
|
68
66
|
- _includes/head.html
|
@@ -72,7 +70,7 @@ files:
|
|
72
70
|
- _layouts/default.html
|
73
71
|
- _layouts/page.html
|
74
72
|
- _layouts/post.html
|
75
|
-
- _sass/
|
73
|
+
- _sass/module.sass
|
76
74
|
- about.md
|
77
75
|
- archive.html
|
78
76
|
- assets/images/dunders.png
|
@@ -120,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
118
|
version: '0'
|
121
119
|
requirements: []
|
122
120
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.5.2.1
|
124
122
|
signing_key:
|
125
123
|
specification_version: 4
|
126
124
|
summary: A starter theme for Jekyll
|
data/_config.yml
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
# Site settings
|
2
|
-
|
3
|
-
title: Dunders | A Starter Theme for Jekyll # put your blog title
|
4
|
-
description: Faster to start a new Jekyll theme # put your description for your amazing blog
|
5
|
-
baseurl: "" # the subpath of your site, e.g. /blog
|
6
|
-
url: "" # the base hostname & protocol for your site e.g. https://woliveiras.com.br
|
7
|
-
language: "" # language to set into html tag, default is en
|
8
|
-
paginate: 5 # Number of posts on each page
|
9
|
-
paginate_path: "/page/:num" # links format for pagination
|
10
|
-
date_format: "%b %-d, %Y" # dateformat of reading list, post date, and more
|
11
|
-
timezone: # timezone to show in yout sire
|
12
|
-
display-author-front-page: # True if you need show author name and site on home page
|
13
|
-
display-author-post-page: true # Very usual for guest posts and the infos of author are writen in header of post.md, by default show infos of user settings
|
14
|
-
|
15
|
-
# Useful for translating into other languages.
|
16
|
-
|
17
|
-
var_on_the_web: On the web
|
18
|
-
var_read: Continue...
|
19
|
-
var_newer: Newers
|
20
|
-
var_older: Olders
|
21
|
-
var_next_post: Next
|
22
|
-
var_previous_post: Previous
|
23
|
-
var_less_than_a_minute_read: < 1 min read
|
24
|
-
var_min_read: min read # Text after reading time. Example: 5 min read.
|
25
|
-
var_post_by: Writed by
|
26
|
-
var_guest_post_by: Guest post by
|
27
|
-
var_your_email: Your mail
|
28
|
-
var_your_message: Your message
|
29
|
-
var_page_indicator: Page
|
30
|
-
var_page_indicator_separator: of
|
31
|
-
|
32
|
-
# User settings
|
33
|
-
|
34
|
-
author: dunders # put your name or a name of principal author of site/blog
|
35
|
-
email: dunders@dunders.com
|
36
|
-
twitter_username: dunders
|
37
|
-
github_username: dunders
|
38
|
-
gplus_username: dunders
|
39
|
-
disqus_shortname: dunders-website
|
40
|
-
|
41
|
-
# Navigation menu
|
42
|
-
links:
|
43
|
-
- title: Home
|
44
|
-
url: /
|
45
|
-
- title: About Me
|
46
|
-
url: /about
|
47
|
-
- title: Archive
|
48
|
-
url: /archive
|
49
|
-
- title: Contact
|
50
|
-
url: /contact
|
51
|
-
- title: Categories
|
52
|
-
url: /categories
|
53
|
-
|
54
|
-
# Build settings
|
55
|
-
|
56
|
-
markdown: kramdown
|
57
|
-
highlighter: rouge
|
58
|
-
permalink: /:title/
|
59
|
-
sitemap: true # Generate sitemap.xml
|
60
|
-
feed:
|
61
|
-
path: atom.xml
|
62
|
-
|
63
|
-
## For more settings: https://jekyllrb.com/docs/configuration/
|
64
|
-
|
65
|
-
# exclude files if no need build
|
66
|
-
exclude: ['package.json', 'node_modules', 'README.md', 'LICENSE']
|
67
|
-
|
68
|
-
# Gems
|
69
|
-
gems: [jekyll-paginate, jekyll-sitemap, jekyll-feed]
|
data/_sass/main.sass
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
// Silence is golden
|