jekyll-theme-minimax 0.3.0 → 0.4.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 +4 -4
- data/_includes/tag_cloud.html +11 -0
- data/_layouts/post.html +2 -2
- data/_layouts/tag_page.html +14 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8dcb6d7c5aec6926ef805fa8e8eee189d9cef78c51af775d5c8367b8b9defbb0
|
|
4
|
+
data.tar.gz: '05506285fbe6ba5807dca22610b4716f6742cecc68044de8af52b1742d1f5f3e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae95f4733d17dde18d4b22587d15faa5677d42aa1446f5562203d8f58c64525786dd897a3410d24a616d4f181d39e86a485f5f0b5a60116af874499492ec6dd8
|
|
7
|
+
data.tar.gz: 69a6cf72efe1995b99ba2de01cb03e8660b7bf2601f6a4d75133be62eb13fa66d3172afe3a60617e40eae30b4c19f090215a2b165f05ba9f3bbd802834eb3b7e
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div class="tag-cloud">
|
|
2
|
+
{% assign tags = site.tags | sort %}
|
|
3
|
+
{% for tag in tags %}
|
|
4
|
+
<span class="site-tag">
|
|
5
|
+
<a href="/tag/{{ tag | first | slugify }}/"
|
|
6
|
+
style="font-size: {{ tag | last | size | times: 4 | plus: 80 }}%">
|
|
7
|
+
{{ tag[0] | replace:'-', ' ' }}
|
|
8
|
+
</a><sup>{{ tag | last | size }}</sup>
|
|
9
|
+
</span>
|
|
10
|
+
{% endfor %}
|
|
11
|
+
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -12,11 +12,11 @@ layout: default
|
|
|
12
12
|
</time>
|
|
13
13
|
{%- if page.author -%}
|
|
14
14
|
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
|
15
|
-
{%- endif -%}
|
|
15
|
+
{%- endif -%}
|
|
16
16
|
<span class="post-tags">[
|
|
17
17
|
{% for tag in page.tags %}
|
|
18
18
|
{% capture tag_name %}{{ tag }}{% endcapture %}
|
|
19
|
-
<nobr>#{{ tag_name }}</nobr>
|
|
19
|
+
<a href="/tag/{{ tag_name }}"><nobr>#{{ tag_name }}</nobr></a>
|
|
20
20
|
{% endfor %}
|
|
21
21
|
]</span>
|
|
22
22
|
</p>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<div class="post">
|
|
5
|
+
<h1>Tag: {{ page.tag }}</h1>
|
|
6
|
+
<ul>
|
|
7
|
+
{% for post in site.tags[page.tag] %}
|
|
8
|
+
<li>
|
|
9
|
+
{{ post.date | date: "%Y-%m-%d" }} » <a href="{{ post.url }}">{{ post.title }}</a>
|
|
10
|
+
</li>
|
|
11
|
+
{% endfor %}
|
|
12
|
+
</ul>
|
|
13
|
+
</div>
|
|
14
|
+
<hr>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-minimax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Songzi Vuong
|
|
@@ -99,10 +99,12 @@ files:
|
|
|
99
99
|
- _includes/icon-twitter.html
|
|
100
100
|
- _includes/icon-twitter.svg
|
|
101
101
|
- _includes/social.html
|
|
102
|
+
- _includes/tag_cloud.html
|
|
102
103
|
- _layouts/default.html
|
|
103
104
|
- _layouts/home.html
|
|
104
105
|
- _layouts/page.html
|
|
105
106
|
- _layouts/post.html
|
|
107
|
+
- _layouts/tag_page.html
|
|
106
108
|
- _sass/minimax.scss
|
|
107
109
|
- _sass/minimax/_base.scss
|
|
108
110
|
- _sass/minimax/_layout.scss
|