dunders 0.2.0
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 +7 -0
- data/LICENSE +21 -0
- data/_config.yml +69 -0
- data/about.md +7 -0
- data/archive.html +19 -0
- data/categories.html +20 -0
- data/contact.html +13 -0
- data/index.html +44 -0
- data/robots.txt +3 -0
- data/tags.html +34 -0
- metadata +96 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a4b03aa73fe9a261a5ea068404c17cb1d5b0c807
|
4
|
+
data.tar.gz: 6ae2889ded54b2f4539cd7e2cd6c7051886d389a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 07fbc5f7c941a1ca00375ea053c2a1095213d9ffeef99e48f1333c1a01327676ce27159a30bd99b32175af63035275747844e3948b86605f410f53313e9cf7df
|
7
|
+
data.tar.gz: a1b0378149e0bc0a0f630d5e1d674a9b9b12c80e74dc5ee2291dc580d26118c21eb11a68eadd3ab73660ddd8df5b445bc3d099b2fc384695f684fab80188423e
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2016 William Oliveira
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/_config.yml
ADDED
@@ -0,0 +1,69 @@
|
|
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/about.md
ADDED
data/archive.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
title: Time Machine
|
3
|
+
layout: page
|
4
|
+
---
|
5
|
+
|
6
|
+
{% for post in site.posts %}
|
7
|
+
|
8
|
+
{% unless post.next %}
|
9
|
+
<h3>{{ post.date | date: '%Y' }}</h3>
|
10
|
+
{% else %}
|
11
|
+
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
12
|
+
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
13
|
+
{% if year != nyear %}
|
14
|
+
<h3>{{ post.date | date: '%Y' }}</h3>
|
15
|
+
{% endif %}
|
16
|
+
{% endunless %}
|
17
|
+
|
18
|
+
<p><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><small> • {{ post.date | date: site.date_format }}</small></p>
|
19
|
+
{% endfor %}
|
data/categories.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: "Categories"
|
4
|
+
---
|
5
|
+
|
6
|
+
{% for tag in site.categories %}
|
7
|
+
<span id="{{ tag[0] | slugify }}">{{ tag[0] | capitalize }}</span>
|
8
|
+
<ul>
|
9
|
+
{% assign pages_list = tag[1] %}
|
10
|
+
{% for post in pages_list reversed %}
|
11
|
+
{% if post.title != null %}
|
12
|
+
{% if group == null or group == post.group %}
|
13
|
+
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}, <span ><time>{{ post.date | date: site.date_format }}</time></a></li>
|
14
|
+
{% endif %}
|
15
|
+
{% endif %}
|
16
|
+
{% endfor %}
|
17
|
+
{% assign pages_list = nil %}
|
18
|
+
{% assign group = nil %}
|
19
|
+
</ul>
|
20
|
+
{% endfor %}
|
data/contact.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Contact
|
4
|
+
---
|
5
|
+
|
6
|
+
<form action="//formspree.io/{{ site.email }}" method="POST">
|
7
|
+
<input type="email" name="_replyto" placeholder="{{ site.var_your_email }}">
|
8
|
+
<input type="hidden" name="_next" value="{{ site.baseurl }}/thanks" />
|
9
|
+
<input type="hidden" name="_subject" value="New submission from {{ site.url }}{{ site.baseurl }}" />
|
10
|
+
<input type="text" name="_gotcha" style="display:none" />
|
11
|
+
<textarea type="text" name="content" rows="8" placeholder="{{ site.var_your_message }}"></textarea>
|
12
|
+
<input type="submit" value="Send">
|
13
|
+
</form>
|
data/index.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
home: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{% for post in paginator.posts %}
|
7
|
+
|
8
|
+
{% assign minutes = post.content | number_of_words | divided_by: 180 %}
|
9
|
+
{% if minutes == 0 %}
|
10
|
+
{% assign read-time = site.var_less_than_a_minute_read %}
|
11
|
+
{% else %}
|
12
|
+
{% assign read-time = minutes | append: " " | append: site.var_min_read %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<article>
|
16
|
+
<a href="{{ post.url | prepend: site.baseurl }}">
|
17
|
+
<h2>{{ post.title }}</h2>
|
18
|
+
</a>
|
19
|
+
<span>
|
20
|
+
{% if site.display-author-front-page %}
|
21
|
+
{% if post.author.name %}
|
22
|
+
{{ post.author.name }} •
|
23
|
+
{% else %}
|
24
|
+
{% if site.author.name %}
|
25
|
+
{{ site.author.name }} •
|
26
|
+
{% endif %}
|
27
|
+
{% endif %}
|
28
|
+
{% endif %}
|
29
|
+
{{ post.date | date: site.date_format }} • {{ read-time }}
|
30
|
+
</span>
|
31
|
+
<p>{{ post.content | strip_html | truncatewords:140 }}</p>
|
32
|
+
<a href="{{ post.url | prepend: site.baseurl }}">{{ site.var_read }} →
|
33
|
+
<span><a href="{{ post.url }}#disqus_thread"></a></span>
|
34
|
+
<div>
|
35
|
+
{% for tag in post.tags %}
|
36
|
+
<a href="{{ site.baseurl }}/tags/#{{tag | slugify }}">{{ tag }}</a>
|
37
|
+
{% endfor %}
|
38
|
+
</div>
|
39
|
+
</article>
|
40
|
+
{% endfor %}
|
41
|
+
|
42
|
+
{% if paginator.previous_page or paginator.next_page %}
|
43
|
+
{% include pagination.html %}
|
44
|
+
{% endif %}
|
data/robots.txt
ADDED
data/tags.html
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: "Tags"
|
4
|
+
---
|
5
|
+
|
6
|
+
<div>
|
7
|
+
{% assign tags_list = site.tags %}
|
8
|
+
{% if tags_list.first[0] == null %}
|
9
|
+
{% for tag in tags_list %}
|
10
|
+
<a href="#{{ tag | slugify }}">{{ tag }}</a>
|
11
|
+
{% endfor %}
|
12
|
+
{% else %}
|
13
|
+
{% for tag in tags_list %}
|
14
|
+
<a href="#{{ tag[0] | slugify }}">{{ tag[0] }}</a>
|
15
|
+
{% endfor %}
|
16
|
+
{% endif %}
|
17
|
+
{% assign tags_list = nil %}
|
18
|
+
</div>
|
19
|
+
|
20
|
+
{% for tag in site.tags %}
|
21
|
+
<span id="{{ tag[0] | slugify }}">{{ tag[0] }}</span>
|
22
|
+
<ul>
|
23
|
+
{% assign pages_list = tag[1] %}
|
24
|
+
{% for post in pages_list reversed %}
|
25
|
+
{% if post.title != null %}
|
26
|
+
{% if group == null or group == post.group %}
|
27
|
+
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span><time>{{ post.date | date: "%B %d, %Y" }}</time></a></li>
|
28
|
+
{% endif %}
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
{% assign pages_list = nil %}
|
32
|
+
{% assign group = nil %}
|
33
|
+
</ul>
|
34
|
+
{% endfor %}
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dunders
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- woliveiras
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description: A starter theme for Jekyll, based on Underscores for WordPress ;D
|
56
|
+
email:
|
57
|
+
- w.oliveira542@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE
|
63
|
+
- _config.yml
|
64
|
+
- about.md
|
65
|
+
- archive.html
|
66
|
+
- categories.html
|
67
|
+
- contact.html
|
68
|
+
- index.html
|
69
|
+
- robots.txt
|
70
|
+
- tags.html
|
71
|
+
homepage: https://github.com/woliveiras/__s
|
72
|
+
licenses:
|
73
|
+
- MIT
|
74
|
+
metadata:
|
75
|
+
plugin_type: theme
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubyforge_project:
|
92
|
+
rubygems_version: 2.4.5.1
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: A starter theme for Jekyll
|
96
|
+
test_files: []
|