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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8a5ee78e8812f7dbc07d20dc8111ed04d30a28c81d3197c21f61bb6c732468
4
- data.tar.gz: 5d521763f77a009ed0f66c56549766e3755c7d0fa72f712e6af2cf0d0e529173
3
+ metadata.gz: 8dcb6d7c5aec6926ef805fa8e8eee189d9cef78c51af775d5c8367b8b9defbb0
4
+ data.tar.gz: '05506285fbe6ba5807dca22610b4716f6742cecc68044de8af52b1742d1f5f3e'
5
5
  SHA512:
6
- metadata.gz: 447c0f14e10e4f93bc48958f756792da7baba0922523b1b0d8369e57a740b26db1ea4aae1e266ab1805e4cdc43b1aae0669f6b0b4763f6a3d71e961e58958deb
7
- data.tar.gz: 37c3806f1bb7203c4a931af17b316c5abcffb7c847f93d56d9f92df7cd8dc6c9596194232cd96ff501eba91d6ffbb374c7a3900bdd5f6091a92efb35c5e71c97
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>&nbsp;
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 -%}&nbsp;
16
16
  <span class="post-tags">[&nbsp;
17
17
  {% for tag in page.tags %}
18
18
  {% capture tag_name %}{{ tag }}{% endcapture %}
19
- <nobr>#{{ tag_name }}</nobr>&nbsp;
19
+ <a href="/tag/{{ tag_name }}"><nobr>#{{ tag_name }}</nobr></a>&nbsp;
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" }} &raquo; <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.3.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