jekyll-text-theme 1.4.0 → 1.4.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.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -3
  3. data/_includes/blog/article-data.html +40 -38
  4. data/_includes/blog/footer.html +8 -12
  5. data/_includes/blog/header.html +49 -50
  6. data/_includes/blog/license.html +24 -23
  7. data/_includes/blog/tags.html +42 -38
  8. data/_includes/icon/mail.svg +4 -4
  9. data/_includes/icon/menu.svg +2 -2
  10. data/_includes/icon/next.svg +2 -2
  11. data/_includes/icon/previous.svg +2 -2
  12. data/_includes/icon/social/behance.svg +1 -1
  13. data/_includes/icon/social/douban.svg +3 -3
  14. data/_includes/icon/social/facebook.svg +1 -1
  15. data/_includes/icon/social/flicker.svg +3 -3
  16. data/_includes/icon/social/github.svg +1 -1
  17. data/_includes/icon/social/googleplus.svg +1 -1
  18. data/_includes/icon/social/linkedin.svg +1 -1
  19. data/_includes/icon/social/pinterest.svg +1 -1
  20. data/_includes/icon/social/qq.svg +1 -1
  21. data/_includes/icon/social/twitter.svg +1 -1
  22. data/_includes/icon/social/weixin.svg +1 -1
  23. data/_includes/icon/social/zhihu.svg +1 -1
  24. data/_includes/info/follow-me.html +75 -75
  25. data/_includes/snippets/get-lang.html +5 -1
  26. data/_includes/snippets/locale-to-string.html +5 -1
  27. data/_includes/snippets/page-title.html +2 -2
  28. data/_layouts/all.html +122 -106
  29. data/_layouts/blog-base.html +31 -33
  30. data/_layouts/blog-default.html +2 -4
  31. data/_layouts/error-404.html +3 -3
  32. data/_layouts/home.html +108 -94
  33. data/_layouts/page.html +8 -11
  34. data/_layouts/post.html +178 -188
  35. data/_sass/base/_animate.scss +14 -14
  36. data/_sass/base/_base.scss +62 -34
  37. data/_sass/base/_image&icon.scss +9 -6
  38. data/_sass/base/_links.scss +60 -67
  39. data/_sass/base/_text.scss +30 -24
  40. data/_sass/blog/_layout.default.scss +15 -14
  41. data/_sass/blog/_layout.post.scss +56 -55
  42. data/_sass/blog/_page.all.scss +31 -31
  43. data/_sass/blog/_page.error-404.scss +5 -5
  44. data/_sass/blog/_page.index.scss +47 -42
  45. data/_sass/colors/_colors.chocolate.scss +39 -0
  46. data/_sass/colors/_colors.orange.scss +39 -0
  47. data/_sass/components/_article.content.scss +133 -125
  48. data/_sass/components/_article.data.scss +34 -33
  49. data/_sass/components/_follow-me.scss +38 -65
  50. data/_sass/components/_footer.scss +20 -23
  51. data/_sass/components/_header.scss +35 -38
  52. data/_sass/components/_license.scss +23 -23
  53. data/_sass/components/_pagination.scss +5 -5
  54. data/_sass/components/_tags.scss +23 -29
  55. data/_sass/components/_toc.scss +58 -53
  56. data/_sass/components/_wrapper.scss +19 -17
  57. data/_sass/mixins/_link.scss +46 -39
  58. data/_sass/mixins/_media.scss +3 -3
  59. data/_sass/mixins/_prefix.scss +6 -6
  60. data/_sass/settings/_colors.scss +3 -1
  61. data/_sass/settings/_highlighting.scss +63 -64
  62. data/assets/css/blog.scss +0 -1
  63. metadata +4 -3
  64. data/_sass/blog/_layout.page.scss +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7890d4f956260e2c679c232b460efa3f78e465ec
4
- data.tar.gz: f2e28c1c6333f352e8dac5eb13654910cb079515
3
+ metadata.gz: 30533e04b4ccca19b10cc4c3dfd56b394a74e6c8
4
+ data.tar.gz: c6c295cf7952b29922b439642c0801798e9b0c59
5
5
  SHA512:
6
- metadata.gz: 77de3d06cd318ce39bda35ff48b3b66cd6f2873154fb3aa3b1d7769262f46a613fe1a4b35f7283d47eb72a3601830b36bb4faf10891d615184341b8411a1b23f
7
- data.tar.gz: 47b6e4be740e991ac3d8cce74a3e65608b9bc11c704e76d053defc76988dd7ee397b7958d657320262a71eeffe55bc61e42806cb26de6671003b507ef6685f47
6
+ metadata.gz: fdced7d66c8d90d381abb25cb0c28a2724fe5b5c2db51642ad6b0d51e9e0ff9f77a2e301a401e2580bc055bbb8ecbd04d76326228e438ad5dcfac7f9768b5790
7
+ data.tar.gz: 50484da325aa9639401321cc8c491fbff1c5a10562ec35b2a1b06287d22b9a56c1f02fa1d8a08364c40478184ade308fd15cb4dcb03284fbb9ce8e111d439fed
data/README.md CHANGED
@@ -112,9 +112,13 @@ bundle exec jekyll serve -H 0.0.0.0
112
112
 
113
113
  颜色主题位于文件夹 ./\_sass/colors 中,修改 ./\_sass/settings/colors.scss 的 `@import` 路径即可修改主题,默认主题为 default。
114
114
 
115
- | `default` | `dark` | `forest` | `ocean` |
116
- | --- | --- | --- | --- |
117
- | ![default](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_default.jpg) | ![dark](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_dark.jpg) | ![forest](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_forest.jpg) | ![ocean](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_ocean.jpg) |
115
+ | `default` | `dark` | `forest` |
116
+ | --- | --- | --- |
117
+ | ![default](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_default.png) | ![dark](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_dark.png) | ![forest](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_forest.png) |
118
+
119
+ | `ocean` | `chocolate` | `orange` |
120
+ | --- | --- | --- |
121
+ | ![ocean](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_ocean.png) | ![chocolate](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_chocolate.png) | ![orange](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/colors_orange.png) |
118
122
 
119
123
  更多颜色主题敬请期待。
120
124
 
@@ -1,12 +1,12 @@
1
1
  <div class="m-article-data clearfix">
2
2
  {% if page %}
3
- <meta itemprop="author" itemscope itemtype="https://schema.org/Person">
4
- {% if page.author %}
5
- <meta itemprop="name" content="{{ page.author }}"/>
6
- {% elsif site.author.name %}
7
- <meta itemprop="name" content="{{ site.author.name }}"/>
8
- {% endif %}
9
- </meta>
3
+ <meta itemprop="author" itemscope itemtype="https://schema.org/Person">
4
+ {% if page.author %}
5
+ <meta itemprop="name" content="{{ page.author }}"/>
6
+ {% elsif site.author.name %}
7
+ <meta itemprop="name" content="{{ site.author.name }}"/>
8
+ {% endif %}
9
+ </meta>
10
10
  {% endif %}
11
11
 
12
12
  {% if post %}
@@ -15,37 +15,39 @@
15
15
  {% assign cur_page = page %}
16
16
  {% endif %}
17
17
  {% if cur_page.tags[0] %}
18
- <ul class="inline-list tag-wrapper">
19
- {% if site.paths.all %}
20
- {% assign all_path = site.paths.all %}
21
- {% else %}
22
- {% assign all_path = '/all.html' %}
23
- {% endif %}
24
- {% for tag in cur_page.tags %}
25
- {% assign _tag = tag | strip | url_encode } %}
26
- {% assign __path = all_path | append: '?tag=' %}
27
- {% include snippets/prepend-baseurl.html %}
28
- <li><a class="round-rect-button"
29
- href="{{ __return | append: _tag | replace: '//', '/' }}">{{ tag }}
30
- </a></li>
31
- {% endfor %}
32
- </ul>
18
+ <ul class="inline-list tag-wrapper">
19
+ {% if site.paths.all %}
20
+ {% assign all_path = site.paths.all %}
21
+ {% else %}
22
+ {% assign all_path = '/all.html' %}
23
+ {% endif %}
24
+ {% for tag in cur_page.tags %}
25
+ {% assign _tag = tag | strip | url_encode } %}
26
+ {% assign __path = all_path | append: '?tag=' %}
27
+ {% include snippets/prepend-baseurl.html %}
28
+ <li>
29
+ <a class="round-rect-button" href="{{ __return | append: _tag | replace: '//', '/' }}">{{ tag }}</a>
30
+ </li>
31
+ {% endfor %}
32
+ </ul>
33
33
  {% endif %}
34
- <div class="other-wrapper">
35
- {% if site.leancloud.app_id and site.leancloud.app_key and site.leancloud.app_class %}
36
- <div class="view-wrapper">
37
- <span class="article-view" id="post-key-{{ cur_page.key }}">0</span> views
38
- </div>
39
- {% endif %}
40
- <div class="date-wrapper">
41
- {% assign __locale = site.data.locale.ARTICLE_DATE_FORMAT } %}
42
- {% include snippets/locale-to-string.html %}
43
- {% if post %}
44
- <span class="article-meta">{{ post.date | date: __return }}</span>
45
- {% elsif page %}
46
- <time class="article-meta" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
47
- {{ page.date | date: __return }}</time>
48
- {% endif %}
49
- </div>
34
+ <div class="other-wrapper">
35
+ {% if site.leancloud.app_id and site.leancloud.app_key and site.leancloud.app_class %}
36
+ <div class="view-wrapper">
37
+ <span class="article-view" id="post-key-{{ cur_page.key }}">0
38
+ </span> views
39
+ </div>
40
+ {% endif %}
41
+ <div class="date-wrapper">
42
+ {% assign __locale = site.data.locale.ARTICLE_DATE_FORMAT } %}
43
+ {% include snippets/locale-to-string.html %}
44
+ {% if post %}
45
+ <span class="article-meta">{{ post.date | date: __return }}</span>
46
+ {% elsif page %}
47
+ <time class="article-meta" datetime="{{ page.date | date_to_xmlschema }}"
48
+ itemprop="datePublished">{{ page.date | date: __return }}
49
+ </time>
50
+ {% endif %}
50
51
  </div>
52
+ </div>
51
53
  </div>
@@ -1,14 +1,10 @@
1
1
  <div class="m-page-footer js-page-footer">
2
- <div class="main">
3
- <aside>
4
- {% include info/follow-me.html %}
5
- </aside>
6
- <footer class="site-info">
7
- <p>© {{ site.title }} {{ site.data.locale.COPYRIGHT_DATES }}</p>
8
- <p>Powered by <a
9
- title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a
10
- title="TeXt is a succinct theme for blogging." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>.
11
- </p>
12
- </footer>
13
- </div>
2
+ <div class="main">
3
+ <aside> {% include info/follow-me.html %} </aside>
4
+ <footer class="site-info">
5
+ <p>© {{ site.title }} {{ site.data.locale.COPYRIGHT_DATES }}</p>
6
+ <p>Powered by <a title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a
7
+ title="TeXt is a succinct theme for blogging." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>.</p>
8
+ </footer>
9
+ </div>
14
10
  </div>
@@ -1,53 +1,52 @@
1
1
  <header class="m-page-header main clearfix">
2
+ {% if site.paths.home %}
3
+ {% assign __path = site.paths.home %}
4
+ {% else %}
2
5
  {% assign __path = '/' %}
3
- {% include snippets/prepend-baseurl.html %}
4
- {% if site.title %}
5
- <a class="site-title" title="{% if site.description %}{{ site.description }}{% endif %}"
6
- href="{{ __return }}">{{ site.title }}</a>
7
- {% endif %}
8
- <div class="site-logo">
9
- {% include logo/logo.svg %}
10
- </div>
11
- <nav>
12
- <ul class="inline-list">
13
- {% if site.paths.home %}
14
- {% assign __path = site.paths.home %}
15
- {% else %}
16
- {% assign __path = '/' %}
17
- {% endif %}
18
- {% include snippets/prepend-baseurl.html %}
19
- {% assign href = __return %}
20
- {% assign __locale = site.data.locale.NAV.HOME %}
21
- {% include snippets/locale-to-string.html %}
22
- <li><a href="{{ href }}">{{ __return }}</a></li>
23
- {% if site.paths.all %}
24
- {% assign __path = site.paths.all %}
25
- {% else %}
26
- {% assign __path = '/all.html' %}
27
- {% endif %}
28
- {% include snippets/prepend-baseurl.html %}
29
- {% assign href = __return %}
30
- {% assign __locale = site.data.locale.NAV.ALL %}
31
- {% include snippets/locale-to-string.html %}
32
- <li><a href="{{ href | append: "?tag=" | replace: '//', '/'}}">{{ __return }}</a></li>
33
- {% for list in site.nav_lists %}
34
- {% assign __path = list.url %}
35
- {% include snippets/prepend-baseurl.html %}
36
- {% assign href = __return %}
37
- {% assign __locale = list.titles %}
38
- {% include snippets/locale-to-string.html %}
39
- <li><a href="{{ href }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li>
40
- {% endfor %}
41
- {% if site.paths.rss %}
42
- {% assign __path = site.paths.rss %}
43
- {% else %}
44
- {% assign __path = '/feed.xml' %}
45
- {% endif %}
46
- {% include snippets/prepend-baseurl.html %}
47
- {% assign href = __return %}
48
- {% assign __locale = site.data.locale.NAV.RSS %}
49
- {% include snippets/locale-to-string.html %}
50
- <li><a type="application/rss+xml" href="{{ href }}">{{ __return }}</a></li>
51
- </ul>
52
- </nav>
6
+ {% endif %}
7
+ {% include snippets/prepend-baseurl.html %}
8
+ {% if site.title %}
9
+ <a class="site-title" title="{% if site.description %}{{ site.description }}{% endif %}" href="{{ __return }}">{{ site.title }}</a>
10
+ {% endif %}
11
+ <div class="site-logo">
12
+ {% include logo/logo.svg %}
13
+ </div>
14
+ <nav>
15
+ <ul class="inline-list">
16
+ {% assign __path = '/' %}
17
+ {% include snippets/prepend-baseurl.html %}
18
+ {% assign href = __return %}
19
+ {% assign __locale = site.data.locale.NAV.HOME %}
20
+ {% include snippets/locale-to-string.html %}
21
+ <li><a href="{{ href }}">{{ __return }}</a></li>
22
+ {% if site.paths.all %}
23
+ {% assign __path = site.paths.all %}
24
+ {% else %}
25
+ {% assign __path = '/all.html' %}
26
+ {% endif %}
27
+ {% include snippets/prepend-baseurl.html %}
28
+ {% assign href = __return %}
29
+ {% assign __locale = site.data.locale.NAV.ALL %}
30
+ {% include snippets/locale-to-string.html %}
31
+ <li><a href="{{ href | append: "?tag=" | replace: '//', '/'}}">{{ __return }}</a></li>
32
+ {% for list in site.nav_lists %}
33
+ {% assign __path = list.url %}
34
+ {% include snippets/prepend-baseurl.html %}
35
+ {% assign href = __return %}
36
+ {% assign __locale = list.titles %}
37
+ {% include snippets/locale-to-string.html %}
38
+ <li><a href="{{ href }}">{% if list.title %}{{ list.title }}{% else %}{{ __return }}{% endif %}</a></li>
39
+ {% endfor %}
40
+ {% if site.paths.rss %}
41
+ {% assign __path = site.paths.rss %}
42
+ {% else %}
43
+ {% assign __path = '/feed.xml' %}
44
+ {% endif %}
45
+ {% include snippets/prepend-baseurl.html %}
46
+ {% assign href = __return %}
47
+ {% assign __locale = site.data.locale.NAV.RSS %}
48
+ {% include snippets/locale-to-string.html %}
49
+ <li><a type="application/rss+xml" href="{{ href }}">{{ __return }}</a></li>
50
+ </ul>
51
+ </nav>
53
52
  </header>
@@ -1,25 +1,26 @@
1
- {% assign locale = site.data.locale %}
2
1
  <div class="m-license">
3
- <div class="clearfix">
4
- {% if site.repository and site.repository_tree %}
5
- {% assign __path = '/assets/images/octocat.jpg' %}
6
- {% include snippets/prepend-baseurl.html %}
7
- <a class="octocat" href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">
8
- <img alt="View on Github" src="{{ __return }}" /></a>
9
- {% assign __locale = locale.POST_ON_GITHUB %}
10
- {% include snippets/locale-to-string.html %}
11
- <p><a href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">{{ __return }}</a></p>
12
- {% endif %}
13
- {% assign __locale = locale.LICENSE_ANNOUNCE %}
14
- {% include snippets/locale-to-string.html %}
15
- <p>{{ __return | replace: "[LICENSE]", '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a>' }}</p>
16
- {% assign __path = '/assets/images/license-cc4.png' %}
17
- {% include snippets/prepend-baseurl.html %}
18
- <a class="license" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">
19
- <img alt="Creative Commons License" src="{{ __return }}" />
20
- </a>
21
- {% assign __locale = locale.LICENSE_INTRO %}
22
- {% include snippets/locale-to-string.html %}
23
- <p>{{ __return }}</p>
24
- </div>
2
+ {% assign locale = site.data.locale %}
3
+ <div class="clearfix">
4
+ {% if site.repository and site.repository_tree %}
5
+ {% assign __path = '/assets/images/octocat.jpg' %}
6
+ {% include snippets/prepend-baseurl.html %}
7
+ <a class="octocat" href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">
8
+ <img alt="View on Github" src="{{ __return }}" />
9
+ </a>
10
+ {% assign __locale = locale.POST_ON_GITHUB %}
11
+ {% include snippets/locale-to-string.html %}
12
+ <p><a href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">{{ __return }}</a></p>
13
+ {% endif %}
14
+ {% assign __locale = locale.LICENSE_ANNOUNCE %}
15
+ {% include snippets/locale-to-string.html %}
16
+ <p>{{ __return | replace: "[LICENSE]", '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a>' }}</p>
17
+ {% assign __path = '/assets/images/license-cc4.png' %}
18
+ {% include snippets/prepend-baseurl.html %}
19
+ <a class="license" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">
20
+ <img alt="Creative Commons License" src="{{ __return }}" />
21
+ </a>
22
+ {% assign __locale = locale.LICENSE_INTRO %}
23
+ {% include snippets/locale-to-string.html %}
24
+ <p>{{ __return }}</p>
25
+ </div>
25
26
  </div>
@@ -3,47 +3,51 @@
3
3
  {% assign cur_size = 1 %}
4
4
  {% assign _tags = site.tags | sort %}
5
5
  {% for tag in _tags %}
6
- {% assign cur_size = tag[1].size %}
7
- {% if cur_size > max_size%}
8
- {% assign max_size = cur_size %}
9
- {% endif %}
10
- {% if cur_size < min_size %}
11
- {% assign min_size = cur_size %}
12
- {% endif %}
6
+ {% assign cur_size = tag[1].size %}
7
+ {% if cur_size > max_size %}
8
+ {% assign max_size = cur_size %}
9
+ {% endif %}
10
+ {% if cur_size < min_size %}
11
+ {% assign min_size = cur_size %}
12
+ {% endif %}
13
13
  {% endfor %}
14
14
  {% assign gap_size = max_size | minus: min_size | plus: 1 | divided_by: 4 %}
15
15
  {% if gap_size < 1 %}
16
- {% assign gap_size = 1 %}
16
+ {% assign gap_size = 1 %}
17
17
  {% endif %}
18
18
  <div class="m-tags">
19
- <ul class="inline-list">
20
- <li><button type="button" class="js-article-tag js-tag-show-all all round-rect-button" onclick="tagSelect('')">
21
- Show All<div class="tag-count"> {{ site.posts | size }} </div>
22
- </button></li>
23
- {% for tag in _tags %}
24
- {% assign cur_size = tag[1].size %}
25
- {% assign m1 = min_size %}
26
- {% assign n1 = m1 | plus: gap_size %}
27
- {% assign m2 = n1 %}
28
- {% assign n2 = m2 | plus: gap_size %}
29
- {% assign m3 = n2 %}
30
- {% assign n3 = m3 | plus: gap_size %}
31
- {% assign m4 = n3 %}
32
- {% assign n4 = m4 | plus: gap_size %}
33
- {% if cur_size >= m1 and cur_size < n1 %}
34
- {% assign c_index = 1 %}
35
- {% elsif cur_size >= m2 and cur_size < n2 %}
36
- {% assign c_index = 2 %}
37
- {% elsif cur_size >= m3 and cur_size < n3 %}
38
- {% assign c_index = 3 %}
39
- {% elsif cur_size >= m4 and cur_size < n4 %}
40
- {% assign c_index = 4 %}
41
- {% else %}
42
- {% assign c_index = 4 %}
43
- {% endif %}
44
- <li><button type="button" class="js-article-tag tag-{{ c_index }} round-rect-button" data-tag="{{ tag[0] | strip | url_encode }}" onclick="tagSelect('{{ tag[0] | strip | url_encode }}')">
45
- <span>{{ tag[0] | strip }}</span><div class="tag-count">{{ tag[1].size }}</div>
46
- </button></li>
47
- {% endfor %}
48
- </ul>
19
+ <ul class="inline-list">
20
+ <li>
21
+ <button type="button" class="js-article-tag js-tag-show-all all round-rect-button" onclick="tagSelect('')">Show All
22
+ <div class="tag-count">{{ site.posts | size }}</div>
23
+ </button>
24
+ </li>
25
+ {% for tag in _tags %}
26
+ {% assign cur_size = tag[1].size %}
27
+ {% assign m1 = min_size %}
28
+ {% assign n1 = m1 | plus: gap_size %}
29
+ {% assign m2 = n1 %}
30
+ {% assign n2 = m2 | plus: gap_size %}
31
+ {% assign m3 = n2 %}
32
+ {% assign n3 = m3 | plus: gap_size %}
33
+ {% assign m4 = n3 %}
34
+ {% assign n4 = m4 | plus: gap_size %}
35
+ {% if cur_size >= m1 and cur_size < n1 %}
36
+ {% assign c_index = 1 %}
37
+ {% elsif cur_size >= m2 and cur_size < n2 %}
38
+ {% assign c_index = 2 %}
39
+ {% elsif cur_size >= m3 and cur_size < n3 %}
40
+ {% assign c_index = 3 %}
41
+ {% elsif cur_size >= m4 and cur_size < n4 %}
42
+ {% assign c_index = 4 %}
43
+ {% else %}
44
+ {% assign c_index = 4 %}
45
+ {% endif %}
46
+ <li><button type="button" class="js-article-tag tag-{{ c_index }} round-rect-button"
47
+ data-tag="{{ tag[0] | strip | url_encode }}" onclick="tagSelect('{{ tag[0] | strip | url_encode }}')">
48
+ <span>{{ tag[0] | strip }}</span><div class="tag-count">{{ tag[1].size }}</div>
49
+ </button>
50
+ </li>
51
+ {% endfor %}
52
+ </ul>
49
53
  </div>
@@ -1,6 +1,6 @@
1
1
  <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M512.091 166.946c116.242 0 232.484-0.014 348.727 0.007 41.522 0.008 76.321 12.188 94.842 53.167 8.25 18.251 6.5 30.831-13.43 43.256-137.452 85.695-274.125 172.655-410.534 260.014-14.762 9.456-24.638 9.569-39.498 0.041C354.353 435.041 216.033 347.399 77.465 260.14c-12.701-8.002-16.368-15.572-12.01-29.962 9.882-32.627 30.845-52.873 63.868-59.66 13.656-2.806 27.953-3.4 41.966-3.431C284.888 166.83 398.492 166.943 512.091 166.946z" />
3
- <path d="M510.888 856.021c-117.998 0-235.996 0.134-353.993-0.067-47.671-0.083-79.295-22.331-91.17-61.206-4.28-14.027-2.127-22.232 10.858-30.356 108.193-67.725 215.807-136.366 324.233-203.713 7.275-4.519 21.51-4.25 29.378-0.171 22.589 11.713 44.026 25.859 64.999 40.383 11.823 8.191 21.091 8.623 33.117 0.325 20.993-14.484 43.689-26.52 64.549-41.176 12.159-8.539 20.73-7.176 32.785 0.537 106.04 67.844 212.318 135.315 319.158 201.894 16.481 10.272 18.065 21.564 12.577 37.407-12.35 35.666-45.183 55.999-92.491 56.081C746.889 856.149 628.886 856.021 510.888 856.021z" />
4
- <path d="M64.376 326.925c97.051 61.769 192.332 122.409 290.508 184.898-97.877 62.309-192.719 122.68-290.508 184.932C64.376 572.674 64.376 451.511 64.376 326.925z" />
5
- <path d="M959.665 327.168c0 124.369 0 244.164 0 369.253-97.913-62.322-192.914-122.792-290.001-184.589C766.993 449.854 861.628 389.595 959.665 327.168z" />
2
+ <path d="M512.091 166.946c116.242 0 232.484-0.014 348.727 0.007 41.522 0.008 76.321 12.188 94.842 53.167 8.25 18.251 6.5 30.831-13.43 43.256-137.452 85.695-274.125 172.655-410.534 260.014-14.762 9.456-24.638 9.569-39.498 0.041C354.353 435.041 216.033 347.399 77.465 260.14c-12.701-8.002-16.368-15.572-12.01-29.962 9.882-32.627 30.845-52.873 63.868-59.66 13.656-2.806 27.953-3.4 41.966-3.431C284.888 166.83 398.492 166.943 512.091 166.946z" />
3
+ <path d="M510.888 856.021c-117.998 0-235.996 0.134-353.993-0.067-47.671-0.083-79.295-22.331-91.17-61.206-4.28-14.027-2.127-22.232 10.858-30.356 108.193-67.725 215.807-136.366 324.233-203.713 7.275-4.519 21.51-4.25 29.378-0.171 22.589 11.713 44.026 25.859 64.999 40.383 11.823 8.191 21.091 8.623 33.117 0.325 20.993-14.484 43.689-26.52 64.549-41.176 12.159-8.539 20.73-7.176 32.785 0.537 106.04 67.844 212.318 135.315 319.158 201.894 16.481 10.272 18.065 21.564 12.577 37.407-12.35 35.666-45.183 55.999-92.491 56.081C746.889 856.149 628.886 856.021 510.888 856.021z" />
4
+ <path d="M64.376 326.925c97.051 61.769 192.332 122.409 290.508 184.898-97.877 62.309-192.719 122.68-290.508 184.932C64.376 572.674 64.376 451.511 64.376 326.925z" />
5
+ <path d="M959.665 327.168c0 124.369 0 244.164 0 369.253-97.913-62.322-192.914-122.792-290.001-184.589C766.993 449.854 861.628 389.595 959.665 327.168z" />
6
6
  </svg>
@@ -1,3 +1,3 @@
1
- <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">>
2
- <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
1
+ <svg fill="#000000" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M1056.000001 193.714286l-292 0 0 70.857143 292 0 0-70.857143zm-144 243.428571q-51.428571 0-83.428571 30t-35.428571 81.428571l233.142857 0q-10.285714-111.428571-114.285714-111.428571zm9.142857 334.285714q36 0 69.714286-18.285714t43.428571-49.714286l126.285714 0q-57.142857 175.428571-244 175.428571-122.285714 0-194.571429-75.428571t-72.285714-198.285714q0-118.857143 74.571429-197.428571t192.285714-78.571429q78.857143 0 137.428571 38.857143t87.428571 102.285714 28.857143 141.714286q0 9.714286-1.142857 26.857143l-376 0q0 63.428571 32.857143 98t95.142857 34.571429zm-762.857143-28.571429l169.142857 0q117.142857 0 117.142857-95.428571 0-102.857143-113.714286-102.857143l-172.571429 0 0 198.285714zm0-306.857143l160.571429 0q44.571429 0 70.571429-20.857143t26-64.857143q0-82.285714-108.571429-82.285714l-148.571429 0 0 168zm-158.285714-290.857143l339.428571 0q49.714286 0 88.571429 8t72.285714 27.142857 51.428571 55.142857 18 88q0 103.428571-98.285714 150.285714 65.142857 18.285714 98.285714 65.714286t33.142857 116.571429q0 42.857143-14 78t-37.714286 59.142857-56.285714 40.571429-69.142857 24-76.571429 7.428571l-349.142857 0 0-720z"></path>
2
+ <path d="M1056.000001 193.714286l-292 0 0 70.857143 292 0 0-70.857143zm-144 243.428571q-51.428571 0-83.428571 30t-35.428571 81.428571l233.142857 0q-10.285714-111.428571-114.285714-111.428571zm9.142857 334.285714q36 0 69.714286-18.285714t43.428571-49.714286l126.285714 0q-57.142857 175.428571-244 175.428571-122.285714 0-194.571429-75.428571t-72.285714-198.285714q0-118.857143 74.571429-197.428571t192.285714-78.571429q78.857143 0 137.428571 38.857143t87.428571 102.285714 28.857143 141.714286q0 9.714286-1.142857 26.857143l-376 0q0 63.428571 32.857143 98t95.142857 34.571429zm-762.857143-28.571429l169.142857 0q117.142857 0 117.142857-95.428571 0-102.857143-113.714286-102.857143l-172.571429 0 0 198.285714zm0-306.857143l160.571429 0q44.571429 0 70.571429-20.857143t26-64.857143q0-82.285714-108.571429-82.285714l-148.571429 0 0 168zm-158.285714-290.857143l339.428571 0q49.714286 0 88.571429 8t72.285714 27.142857 51.428571 55.142857 18 88q0 103.428571-98.285714 150.285714 65.142857 18.285714 98.285714 65.714286t33.142857 116.571429q0 42.857143-14 78t-37.714286 59.142857-56.285714 40.571429-69.142857 24-76.571429 7.428571l-349.142857 0 0-720z" />
3
3
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M161.431 147.172l699.701 0 0 78.813-699.701 0 0-78.814z" />
3
- <path d="M800.298 616.311l0-308.108-578.031 0 0 308.108 578.031 0zM306.076 386.961l411.23 0 0 150.633-411.23 0 0-150.633z" />
4
- <path d="M675.281 793.89c25.15-38.487 48.885-83.129 70.879-133.81l-84.107-30.649c-21.885 60.046-47.337 114.974-76.324 164.459l-146.332 0c-24.225-64.156-51.607-119.031-82.313-164.459l-77.357 30.649c31.9 47.851 57.651 92.383 77.357 133.81l-215.414 0 0 77.957 739.278 0 0-77.957-205.67 0z" />
2
+ <path d="M161.431 147.172l699.701 0 0 78.813-699.701 0 0-78.814z" />
3
+ <path d="M800.298 616.311l0-308.108-578.031 0 0 308.108 578.031 0zM306.076 386.961l411.23 0 0 150.633-411.23 0 0-150.633z" />
4
+ <path d="M675.281 793.89c25.15-38.487 48.885-83.129 70.879-133.81l-84.107-30.649c-21.885 60.046-47.337 114.974-76.324 164.459l-146.332 0c-24.225-64.156-51.607-119.031-82.313-164.459l-77.357 30.649c31.9 47.851 57.651 92.383 77.357 133.81l-215.414 0 0 77.957 739.278 0 0-77.957-205.67 0z" />
5
5
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M767.428571 6.857143l0 150.857143-89.714286 0q-49.142857 0-66.285714 20.571429t-17.142857 61.714286l0 108 167.428571 0-22.285714 169.142857-145.142857 0 0 433.714286-174.857143 0 0-433.714286-145.714286 0 0-169.142857 145.714286 0 0-124.571429q0-106.285714 59.428571-164.857143t158.285714-58.571429q84 0 130.285714 6.857143z"></path>
2
+ <path d="M767.428571 6.857143l0 150.857143-89.714286 0q-49.142857 0-66.285714 20.571429t-17.142857 61.714286l0 108 167.428571 0-22.285714 169.142857-145.142857 0 0 433.714286-174.857143 0 0-433.714286-145.714286 0 0-169.142857 145.714286 0 0-124.571429q0-106.285714 59.428571-164.857143t158.285714-58.571429q84 0 130.285714 6.857143z" />
3
3
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg fill="#000000" width="24px" height="24px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M512 996.693333C245.76 996.693333 27.306667 778.24 27.306667 512 27.306667 245.76 245.76 27.306667 512 27.306667c266.24 0 484.693333 218.453333 484.693333 484.693333C996.693333 778.24 778.24 996.693333 512 996.693333zM512 78.506667C273.066667 78.506667 78.506667 273.066667 78.506667 512S273.066667 945.493333 512 945.493333 945.493333 750.933333 945.493333 512 750.933333 78.506667 512 78.506667z"></path>
3
- <path d="M655.36 512m-129.706667 0a3.8 3.8 0 1 0 259.413333 0 3.8 3.8 0 1 0-259.413333 0Z"></path>
4
- <path d="M368.64 512m-129.706667 0a3.8 3.8 0 1 0 259.413333 0 3.8 3.8 0 1 0-259.413333 0Z"></path>
2
+ <path d="M512 996.693333C245.76 996.693333 27.306667 778.24 27.306667 512 27.306667 245.76 245.76 27.306667 512 27.306667c266.24 0 484.693333 218.453333 484.693333 484.693333C996.693333 778.24 778.24 996.693333 512 996.693333zM512 78.506667C273.066667 78.506667 78.506667 273.066667 78.506667 512S273.066667 945.493333 512 945.493333 945.493333 750.933333 945.493333 512 750.933333 78.506667 512 78.506667z" />
3
+ <path d="M655.36 512m-129.706667 0a3.8 3.8 0 1 0 259.413333 0 3.8 3.8 0 1 0-259.413333 0Z" />
4
+ <path d="M368.64 512m-129.706667 0a3.8 3.8 0 1 0 259.413333 0 3.8 3.8 0 1 0-259.413333 0Z" />
5
5
  </svg>