dunders 0.3.0 → 1.0.1
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/README.md +48 -0
- data/_includes/comments.html +12 -0
- data/_includes/footer.html +8 -0
- data/_includes/head.html +44 -0
- data/_includes/header.html +8 -0
- data/_includes/navigation-menu.html +7 -0
- data/_includes/pagination.html +15 -0
- data/_layouts/default.html +5 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +26 -0
- data/_sass/main.sass +1 -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/screenshot.png +0 -0
- metadata +31 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61bca4879ad513199674b6fc209d4fded73ec0ae
|
4
|
+
data.tar.gz: fb7af547b5258962102c73a3a9a6b5bd49d14208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3afbd07b157026826e771141e347693952cc23a42e68f5a3f74391924ec46a400ca61c86869fd1d8ace29d06e94539e977e7055f3b7547efb955d683caf5754
|
7
|
+
data.tar.gz: b6f329c9ffdef462c061edc86ac64f26fb5646d19141ad8b04c14b8c4e54525d29d93bd4d3a16fa32c508709059641cd93d562989c764d2719e8853216e9d40e
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# __s [](https://badge.fury.io/rb/dunders)
|
2
|
+
|
3
|
+
__s, or dunders, is a simple Jekyll Starter Theme.
|
4
|
+
|
5
|
+
*The name of this project is a tribute to [Underscore](https://github.com/automattic/_s) project.*
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "dunders"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: dunders
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install dunders
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
TODO: Write usage instructions here. Describe available layouts, includes, and/or sass.
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
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.
|
36
|
+
|
37
|
+
## Development
|
38
|
+
|
39
|
+
To set up your environment to develop this theme, run `bundle install`.
|
40
|
+
|
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.
|
42
|
+
|
43
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<section>
|
2
|
+
<div id="disqus_thread"></div>
|
3
|
+
</section>
|
4
|
+
<script>
|
5
|
+
(function() {
|
6
|
+
var d = document, s = d.createElement('script');
|
7
|
+
s.src = '//' + "{{ site.disqus_shortname }}" + '.disqus.com/embed.js';
|
8
|
+
s.setAttribute('data-timestamp', +new Date());
|
9
|
+
(d.head || d.body).appendChild(s);
|
10
|
+
})();
|
11
|
+
</script>
|
12
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<footer>
|
2
|
+
<span>© {{ site.time | date: '%Y' }} writed with <3 by {{ site.author }}, site develop with <a href="https://jekyllrb.com/" title="Jekyll website">Jekyll</a></span>
|
3
|
+
</footer>
|
4
|
+
</body>
|
5
|
+
{% if site.disqus_shortname %}
|
6
|
+
<script id="dsq-count-scr" src="//{{ site.disqus_shortname }}.disqus.com/count.js" async></script>
|
7
|
+
{% endif %}
|
8
|
+
</html>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
5
|
+
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
6
|
+
<link rel="author" href="https://plus.google.com/{{ site.gplus_username }}?rel=author">
|
7
|
+
<meta name="twitter:card" content="summary_large_image">
|
8
|
+
<meta name="twitter:site" content="@{{ site.twitter_username }}">
|
9
|
+
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
10
|
+
<meta name="twitter:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
11
|
+
|
12
|
+
{% if page.image %}
|
13
|
+
<meta property="twitter:image:src" content="{{ site.url }}{{page.image }}">
|
14
|
+
{% else %}
|
15
|
+
<meta property="twitter:image:src" content="{{ "/assets/images/site-shared-image.png" | prepend: site.baseurl | prepend: site.url }}">
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
19
|
+
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
20
|
+
|
21
|
+
{% if page.image %}
|
22
|
+
<meta property="og:image" content="{{ site.url }}{{page.image }}">
|
23
|
+
{% else %}
|
24
|
+
<meta property="og:image" content="{{ "/assets/images/site-shared-image.png" | prepend: site.baseurl | prepend: site.url }}">
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
<meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
28
|
+
<meta property="og:site_name" content="{{ site.title }}">
|
29
|
+
|
30
|
+
<meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/>
|
31
|
+
<meta itemprop="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
32
|
+
<meta itemprop="image" content="{{ "/assets/images/site-shared-image.png" | prepend: site.baseurl | prepend: site.url }}"/>
|
33
|
+
|
34
|
+
<link rel="shortcut icon" href="{{site.baseurl}}/assets/images/icons/favicon.ico" type="image/x-icon" />
|
35
|
+
<link rel="apple-touch-icon" href="{{site.baseurl}}/assets/images/icons/apple-icon.png" />
|
36
|
+
<link rel="apple-touch-icon" sizes="57x57" href="{{site.baseurl}}/assets/images/icons/apple-icon-57x57.png" />
|
37
|
+
<link rel="apple-touch-icon" sizes="72x72" href="{{site.baseurl}}/assets/images/icons/apple-icon-72x72.png" />
|
38
|
+
<link rel="apple-touch-icon" sizes="114x114" href="{{site.baseurl}}/assets/images/icons/apple-icon-114x114.png" />
|
39
|
+
<link rel="apple-touch-icon" sizes="144x144" href="{{site.baseurl}}/assets/images/icons/apple-icon-144x144.png" />
|
40
|
+
<link rel="apple-touch-icon" sizes="60x60" href="{{site.baseurl}}/assets/images/icons/apple-icon-60x60.png" />
|
41
|
+
<link rel="apple-touch-icon" sizes="120x120" href="{{site.baseurl}}/assets/images/icons/apple-icon-120x120.png" />
|
42
|
+
<link rel="apple-touch-icon" sizes="76x76" href="{{site.baseurl}}/assets/images/icons/apple-icon-76x76.png" />
|
43
|
+
<link rel="apple-touch-icon" sizes="152x152" href="{{site.baseurl}}/assets/images/icons/apple-icon-152x152.png" />
|
44
|
+
</head>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div>
|
2
|
+
<ul>
|
3
|
+
{% if paginator.previous_page %}
|
4
|
+
<li><a href="{{ paginator.previous_page_path }}">{{ site.var_previous_post }}</a></li>
|
5
|
+
{% else %}
|
6
|
+
<li><span>{{ site.var_previous_post }}</span></li>
|
7
|
+
{% endif %}
|
8
|
+
<li><span>{{ site.var_page_indicator }} {{ paginator.page }} {{ site.var_page_indicator_separator }} {{ paginator.total_pages }}</span></li>
|
9
|
+
{% if paginator.next_page %}
|
10
|
+
<li><a href="{{ paginator.next_page_path }}">{{ site.var_next_post }}</a></li>
|
11
|
+
{% else %}
|
12
|
+
<li><span>{{ site.var_next_post }}</span></li>
|
13
|
+
{% endif %}
|
14
|
+
</ul>
|
15
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<span><a href="{{ page.url }}#disqus_thread"></a></span>
|
8
|
+
<div>
|
9
|
+
{% for tag in page.tags %}
|
10
|
+
<a href="{{ site.baseurl }}/tags/#{{tag | slugify }}">{{ tag }}</a>
|
11
|
+
{% endfor %}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
{% if site.display-author-post-page %}
|
15
|
+
{% if page.author.name %}
|
16
|
+
<small><em>{{ site.var_guest_post_by }}: {{ page.author.name }} <a href="{{ page.author.site }}" title="{{ page.author.name }} website" target="_blank">({{ page.author.site }})</a></em></small>
|
17
|
+
{% else %}
|
18
|
+
{% if site.author %}
|
19
|
+
<small><em>{{ site.var_post_by }}: {{ site.author }}</em></small>
|
20
|
+
{% endif %}
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% if site.disqus_shortname %}
|
25
|
+
{% include comments.html %}
|
26
|
+
{% endif %}
|
data/_sass/main.sass
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
// Silence is golden
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/screenshot.png
ADDED
Binary file
|
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: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- woliveiras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -60,13 +60,42 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- LICENSE
|
63
|
+
- README.md
|
63
64
|
- _config.yml
|
65
|
+
- _includes/comments.html
|
66
|
+
- _includes/footer.html
|
67
|
+
- _includes/head.html
|
68
|
+
- _includes/header.html
|
69
|
+
- _includes/navigation-menu.html
|
70
|
+
- _includes/pagination.html
|
71
|
+
- _layouts/default.html
|
72
|
+
- _layouts/page.html
|
73
|
+
- _layouts/post.html
|
74
|
+
- _sass/main.sass
|
64
75
|
- about.md
|
65
76
|
- archive.html
|
77
|
+
- assets/images/dunders.png
|
78
|
+
- assets/images/icons/apple-icon-114x114.png
|
79
|
+
- assets/images/icons/apple-icon-120x120.png
|
80
|
+
- assets/images/icons/apple-icon-144x144.png
|
81
|
+
- assets/images/icons/apple-icon-152x152.png
|
82
|
+
- assets/images/icons/apple-icon-180x180.png
|
83
|
+
- assets/images/icons/apple-icon-57x57.png
|
84
|
+
- assets/images/icons/apple-icon-60x60.png
|
85
|
+
- assets/images/icons/apple-icon-72x72.png
|
86
|
+
- assets/images/icons/apple-icon-76x76.png
|
87
|
+
- assets/images/icons/apple-icon-precomposed.png
|
88
|
+
- assets/images/icons/apple-icon.png
|
89
|
+
- assets/images/icons/favicon-16x16.png
|
90
|
+
- assets/images/icons/favicon-32x32.png
|
91
|
+
- assets/images/icons/favicon-96x96.png
|
92
|
+
- assets/images/icons/favicon.ico
|
93
|
+
- assets/images/site-shared-image.png
|
66
94
|
- categories.html
|
67
95
|
- contact.html
|
68
96
|
- index.html
|
69
97
|
- robots.txt
|
98
|
+
- screenshot.png
|
70
99
|
- tags.html
|
71
100
|
homepage: https://github.com/woliveiras/__s
|
72
101
|
licenses:
|