dunders 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +212 -21
  4. data/_includes/comments.html +0 -0
  5. data/_includes/footer.html +0 -0
  6. data/_includes/head.html +2 -0
  7. data/_includes/header.html +0 -0
  8. data/_includes/navigation-menu.html +0 -0
  9. data/_includes/pagination.html +3 -3
  10. data/_layouts/default.html +0 -0
  11. data/_layouts/page.html +0 -0
  12. data/_layouts/post.html +0 -0
  13. data/_sass/module.sass +1 -0
  14. data/about.md +0 -0
  15. data/archive.html +0 -0
  16. data/assets/images/dunders.png +0 -0
  17. data/assets/images/icons/apple-icon-114x114.png +0 -0
  18. data/assets/images/icons/apple-icon-120x120.png +0 -0
  19. data/assets/images/icons/apple-icon-144x144.png +0 -0
  20. data/assets/images/icons/apple-icon-152x152.png +0 -0
  21. data/assets/images/icons/apple-icon-180x180.png +0 -0
  22. data/assets/images/icons/apple-icon-57x57.png +0 -0
  23. data/assets/images/icons/apple-icon-60x60.png +0 -0
  24. data/assets/images/icons/apple-icon-72x72.png +0 -0
  25. data/assets/images/icons/apple-icon-76x76.png +0 -0
  26. data/assets/images/icons/apple-icon-precomposed.png +0 -0
  27. data/assets/images/icons/apple-icon.png +0 -0
  28. data/assets/images/icons/favicon-16x16.png +0 -0
  29. data/assets/images/icons/favicon-32x32.png +0 -0
  30. data/assets/images/icons/favicon-96x96.png +0 -0
  31. data/assets/images/icons/favicon.ico +0 -0
  32. data/assets/images/site-shared-image.png +0 -0
  33. data/categories.html +0 -0
  34. data/contact.html +0 -0
  35. data/index.html +0 -0
  36. data/robots.txt +0 -0
  37. data/screenshot.png +0 -0
  38. data/tags.html +0 -0
  39. metadata +6 -8
  40. data/_config.yml +0 -69
  41. data/_sass/main.sass +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e5270796b457ba1b9db8a34e804d314ee8eff28
4
- data.tar.gz: b1027d0ec5104c8ea5692597c348c31c45aa51a4
3
+ metadata.gz: 51122661ad1a9d781360524a66f024c301cef89a
4
+ data.tar.gz: 5ca1a1b59e23390b484f9e8c8a29f8f193259eee
5
5
  SHA512:
6
- metadata.gz: 669ddab9cbb3dd6220bed64b681b4d39db090f5e601bb526c75b9cc771940a04b8f14985c4abcd542ff95e5a762c8b964bc3ce8977dc52fdad77da8ffb25fec7
7
- data.tar.gz: c7f1befd7499639a2dbaf99e4de2ec0276712124873ca75c582615d8f21af6d80eec5c991ede5c316c392164cc7128a184665e2e20b2233731c6c32366dc1b30
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
- # __s [![Gem Version](https://badge.fury.io/rb/dunders.svg)](https://badge.fury.io/rb/dunders)
1
+ <p align="center">
2
+ <img src="/assets/images/icons/favicon-96x96.png" alt="Dunders logo">
3
+ </p>
2
4
 
3
- __s, or dunders, is a simple Jekyll Starter Theme.
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
- ## Installation
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
- Add this line to your Jekyll site's Gemfile:
52
+ ```
53
+ mkdir demo
54
+ ```
55
+
56
+ Enter on theme folder and clone this repo.
10
57
 
11
- ```ruby
12
- gem "dunders"
58
+ ```
59
+ git clone git@github.com:woliveiras/__s.git .
13
60
  ```
14
61
 
15
- And add this line to your Jekyll site:
62
+ Run Bundle, to install dependencies:
16
63
 
17
- ```yaml
18
- theme: dunders
64
+ ```
65
+ bundle
19
66
  ```
20
67
 
21
- And then execute:
68
+ Up the Jekyll Server:
22
69
 
23
- $ bundle
70
+ ```
71
+ jekyll s
72
+ ```
24
73
 
25
- Or install it yourself as:
74
+ And open `localhost:4000` on Browser.
26
75
 
27
- $ gem install dunders
76
+ Now, make your GREAT THEME!!! :raised_hands:
28
77
 
29
- ## Usage
78
+ ## Creating draft, posts, pages, publish and unpublish
30
79
 
31
- TODO: Write usage instructions here. Describe available layouts, includes, and/or sass.
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
- ## Contributing
82
+ To use, is simple:
34
83
 
35
- 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.
84
+ Listed in help you will see new commands available to you:
36
85
 
37
- ## Development
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
- To set up your environment to develop this theme, run `bundle install`.
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
- You theme is setup just like a normal Jelyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
106
+ Create your new draft using:
42
107
 
43
- When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
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
 
File without changes
File without changes
@@ -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 %}">
File without changes
File without changes
@@ -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>
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+
data/about.md 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
data/index.html CHANGED
File without changes
data/robots.txt CHANGED
File without changes
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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
- - woliveiras
7
+ - William Oliveira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
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: 'A starter theme for Jekyll, based on Underscores for WordPress. Look
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/main.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.6.6
121
+ rubygems_version: 2.5.2.1
124
122
  signing_key:
125
123
  specification_version: 4
126
124
  summary: A starter theme for Jekyll
@@ -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]
@@ -1 +0,0 @@
1
- // Silence is golden