shine-on-you-crazy-diamond-theme 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/article.html +8 -30
- data/_includes/article_header.html +38 -0
- data/_includes/head.html +1 -1
- data/_layouts/archive.html +8 -30
- data/_layouts/blog.html +8 -30
- data/_layouts/home.html +9 -31
- data/_sass/_content.scss +9 -1
- metadata +2 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61bab3a1bdbf4b330b9e46f080e809fd36ba6e6c959cb6e85e5b1a60d911d074
|
4
|
+
data.tar.gz: 1951590a6704eb1a0266f0bf8d4a8ba82c74cdf57d6110856006198fdc83cace
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b36234b9ee9b4eb56ec7ea5ff45c67b6c618af9686cbe5d2ff8369e07c25934def49af73b508e5c2ae35cb5323c6745c3ce9b8c48ba2a2256712a150c520e70a
|
7
|
+
data.tar.gz: 6fe8133eb8eab79abbf1771950f688f08ba64cb123ee0e5ac703d87cf92f0fad8bca080e7bf8c8aa43de9700c6125acd2a921432e6d554f0c2ae1a740c7c8a6f
|
data/_includes/article.html
CHANGED
@@ -1,34 +1,12 @@
|
|
1
1
|
<article>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<i class="fa fa-calendar"></i>
|
11
|
-
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%d/%m/%Y" }}</time>
|
12
|
-
</li>
|
13
|
-
|
14
|
-
{% if page.tags.size > 0 %}
|
15
|
-
<li>
|
16
|
-
<i></i>
|
17
|
-
<i class="fa fa-tags"></i>
|
18
|
-
|
19
|
-
{% assign tag_names = page.tags %}
|
20
|
-
{% assign tag_array = "" | split: "/" %}
|
21
|
-
|
22
|
-
{% for tag_name in tag_names %}
|
23
|
-
{% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
|
24
|
-
{% assign tag_array = tag_array | push: link %}
|
25
|
-
{% endfor %}
|
26
|
-
|
27
|
-
{{ tag_array | join: ', ' }}
|
28
|
-
</li>
|
29
|
-
{% endif %}
|
30
|
-
</ul>
|
31
|
-
</header>
|
2
|
+
{%- include
|
3
|
+
article_header.html
|
4
|
+
post_url=page.url
|
5
|
+
post_title=page.title
|
6
|
+
post_date=page.date
|
7
|
+
post_tags=page.tags
|
8
|
+
post_categories=page.categories
|
9
|
+
-%}
|
32
10
|
|
33
11
|
<div class="content-post">
|
34
12
|
{{ content }}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<header class="header-post">
|
2
|
+
<h1>
|
3
|
+
<a href="{{ include.post_url | escape }}">{{ include.post_title | escape }}</a>
|
4
|
+
</h1>
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<li>
|
8
|
+
<i></i>
|
9
|
+
<i class="fa fa-calendar"></i>
|
10
|
+
<time datetime="{{ include.post_date | date_to_xmlschema }}">{{ include.post_date | date: "%d/%m/%Y" }}</time>
|
11
|
+
</li>
|
12
|
+
|
13
|
+
<li>
|
14
|
+
<i></i>
|
15
|
+
<i class="fa fa-archive"></i>
|
16
|
+
{% assign category_name = include.post_categories[0] %}
|
17
|
+
<a href="/categories/{{ category_name | slugify }}/" title="{{ category_name }}">{{ category_name }}</a>
|
18
|
+
</li>
|
19
|
+
|
20
|
+
{% if include.post_tags.size > 0 %}
|
21
|
+
<li>
|
22
|
+
<i></i>
|
23
|
+
<i class="fa fa-tags"></i>
|
24
|
+
|
25
|
+
{% assign tag_names = include.post_tags %}
|
26
|
+
{% assign tag_array = "" | split: "/" %}
|
27
|
+
|
28
|
+
{% for tag_name in tag_names %}
|
29
|
+
{% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
|
30
|
+
|
31
|
+
{% assign tag_array = tag_array | push: link %}
|
32
|
+
{% endfor %}
|
33
|
+
|
34
|
+
{{ tag_array | join: ', ' }}
|
35
|
+
</li>
|
36
|
+
{% endif %}
|
37
|
+
</ul>
|
38
|
+
</header>
|
data/_includes/head.html
CHANGED
data/_layouts/archive.html
CHANGED
@@ -6,36 +6,14 @@ layout: default
|
|
6
6
|
{%- if page.posts.size > 0 -%}
|
7
7
|
{%- for post in page.posts -%}
|
8
8
|
<article>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<i class="fa fa-calendar"></i>
|
18
|
-
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
|
19
|
-
</li>
|
20
|
-
|
21
|
-
{% if post.tags.size > 0 %}
|
22
|
-
<li>
|
23
|
-
<i></i>
|
24
|
-
<i class="fa fa-tags"></i>
|
25
|
-
|
26
|
-
{% assign tag_names = post.tags %}
|
27
|
-
{% assign tag_array = "" | split: "/" %}
|
28
|
-
|
29
|
-
{% for tag_name in tag_names %}
|
30
|
-
{% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
|
31
|
-
{% assign tag_array = tag_array | push: link %}
|
32
|
-
{% endfor %}
|
33
|
-
|
34
|
-
{{ tag_array | join: ', ' }}
|
35
|
-
</li>
|
36
|
-
{% endif %}
|
37
|
-
</ul>
|
38
|
-
</header>
|
9
|
+
{%- include
|
10
|
+
article_header.html
|
11
|
+
post_url=post.url
|
12
|
+
post_title=post.title
|
13
|
+
post_date=post.date
|
14
|
+
post_tags=post.tags
|
15
|
+
post_categories=post.categories
|
16
|
+
-%}
|
39
17
|
</article>
|
40
18
|
|
41
19
|
<hr class="post-separator">
|
data/_layouts/blog.html
CHANGED
@@ -6,36 +6,14 @@ layout: default
|
|
6
6
|
{%- if site.posts.size > 0 -%}
|
7
7
|
{%- for post in site.posts -%}
|
8
8
|
<article>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<i class="fa fa-calendar"></i>
|
18
|
-
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
|
19
|
-
</li>
|
20
|
-
|
21
|
-
{% if post.tags.size > 0 %}
|
22
|
-
<li>
|
23
|
-
<i></i>
|
24
|
-
<i class="fa fa-tags"></i>
|
25
|
-
|
26
|
-
{% assign tag_names = post.tags %}
|
27
|
-
{% assign tag_array = "" | split: "/" %}
|
28
|
-
|
29
|
-
{% for tag_name in tag_names %}
|
30
|
-
{% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
|
31
|
-
{% assign tag_array = tag_array | push: link %}
|
32
|
-
{% endfor %}
|
33
|
-
|
34
|
-
{{ tag_array | join: ', ' }}
|
35
|
-
</li>
|
36
|
-
{% endif %}
|
37
|
-
</ul>
|
38
|
-
</header>
|
9
|
+
{%- include
|
10
|
+
article_header.html
|
11
|
+
post_url=post.url
|
12
|
+
post_title=post.title
|
13
|
+
post_date=post.date
|
14
|
+
post_tags=post.tags
|
15
|
+
post_categories=post.categories
|
16
|
+
-%}
|
39
17
|
</article>
|
40
18
|
|
41
19
|
<hr class="post-separator">
|
data/_layouts/home.html
CHANGED
@@ -7,36 +7,14 @@ pagination:
|
|
7
7
|
<main class="main-section">
|
8
8
|
{% for post in paginator.posts %}
|
9
9
|
<article>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<i class="fa fa-calendar"></i>
|
19
|
-
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
|
20
|
-
</li>
|
21
|
-
|
22
|
-
{% if post.tags.size > 0 %}
|
23
|
-
<li>
|
24
|
-
<i></i>
|
25
|
-
<i class="fa fa-tags"></i>
|
26
|
-
|
27
|
-
{% assign tag_names = post.tags %}
|
28
|
-
{% assign tag_array = "" | split: "/" %}
|
29
|
-
|
30
|
-
{% for tag_name in tag_names %}
|
31
|
-
{% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
|
32
|
-
{% assign tag_array = tag_array | push: link %}
|
33
|
-
{% endfor %}
|
34
|
-
|
35
|
-
{{ tag_array | join: ', ' }}
|
36
|
-
</li>
|
37
|
-
{% endif %}
|
38
|
-
</ul>
|
39
|
-
</header>
|
10
|
+
{%- include
|
11
|
+
article_header.html
|
12
|
+
post_url=post.url
|
13
|
+
post_title=post.title
|
14
|
+
post_date=post.date
|
15
|
+
post_tags=post.tags
|
16
|
+
post_categories=post.categories
|
17
|
+
-%}
|
40
18
|
|
41
19
|
<div class="content-post">
|
42
20
|
{{ post.content }}
|
@@ -57,7 +35,7 @@ pagination:
|
|
57
35
|
{% if page.url == trail.path %}
|
58
36
|
<span class="page-number current">{{ paginator.page }}</span>
|
59
37
|
{% else %}
|
60
|
-
<a class="page-number" href="{{ trail.path
|
38
|
+
<a class="page-number" href="{{ trail.path }}">{{ trail.num }}</a>
|
61
39
|
{% endif %}
|
62
40
|
{% endfor %}
|
63
41
|
|
data/_sass/_content.scss
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
}
|
28
28
|
|
29
29
|
ul {
|
30
|
-
display: inline
|
30
|
+
display: inline;
|
31
31
|
}
|
32
32
|
|
33
33
|
li {
|
@@ -39,6 +39,14 @@
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
|
42
|
+
@media (min-width: $breakpoint-content-section) {
|
43
|
+
.header-post {
|
44
|
+
ul {
|
45
|
+
display: inline-flex;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
42
50
|
.pagination {
|
43
51
|
font-size: 1rem;
|
44
52
|
margin-bottom: 20px;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shine-on-you-crazy-diamond-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ramonsantos
|
@@ -92,20 +92,6 @@ dependencies:
|
|
92
92
|
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 2.6.1
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: jekyll-target-blank
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '2.0'
|
102
|
-
type: :runtime
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '2.0'
|
109
95
|
- !ruby/object:Gem::Dependency
|
110
96
|
name: bundler
|
111
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,6 +116,7 @@ files:
|
|
130
116
|
- LICENSE.md
|
131
117
|
- README.md
|
132
118
|
- _includes/article.html
|
119
|
+
- _includes/article_header.html
|
133
120
|
- _includes/disqus_comments.html
|
134
121
|
- _includes/footer.html
|
135
122
|
- _includes/google_analytics.html
|