jekyll-theme-minimax 0.2.0 → 0.3.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/head.html +0 -9
- data/_layouts/post.html +1 -1
- metadata +1 -20
- data/_includes/category_cloud.html +0 -13
- data/_includes/collect_categories.html +0 -18
- data/_includes/collect_tags.html +0 -18
- data/_includes/tag_cloud.html +0 -12
- data/_layouts/tag-archive.html +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a8a5ee78e8812f7dbc07d20dc8111ed04d30a28c81d3197c21f61bb6c732468
|
|
4
|
+
data.tar.gz: 5d521763f77a009ed0f66c56549766e3755c7d0fa72f712e6af2cf0d0e529173
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 447c0f14e10e4f93bc48958f756792da7baba0922523b1b0d8369e57a740b26db1ea4aae1e266ab1805e4cdc43b1aae0669f6b0b4763f6a3d71e961e58958deb
|
|
7
|
+
data.tar.gz: 37c3806f1bb7203c4a931af17b316c5abcffb7c847f93d56d9f92df7cd8dc6c9596194232cd96ff501eba91d6ffbb374c7a3900bdd5f6091a92efb35c5e71c97
|
data/_includes/head.html
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
{%- seo -%}
|
|
6
6
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
|
7
7
|
{%- feed_meta -%}
|
|
8
|
-
|
|
9
|
-
{%- if site.tags != "" -%}
|
|
10
|
-
{%- include collect_tags.html -%}
|
|
11
|
-
{%- endif -%}
|
|
12
|
-
|
|
13
|
-
{%- if site.categories != "" -%}
|
|
14
|
-
{%- include collect_categories.html -%}
|
|
15
|
-
{%- endif -%}
|
|
16
|
-
|
|
17
8
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
|
18
9
|
{%- include google-analytics.html -%}
|
|
19
10
|
{%- endif -%}
|
data/_layouts/post.html
CHANGED
|
@@ -16,7 +16,7 @@ layout: default
|
|
|
16
16
|
<span class="post-tags">[
|
|
17
17
|
{% for tag in page.tags %}
|
|
18
18
|
{% capture tag_name %}{{ tag }}{% endcapture %}
|
|
19
|
-
<
|
|
19
|
+
<nobr>#{{ tag_name }}</nobr>
|
|
20
20
|
{% endfor %}
|
|
21
21
|
]</span>
|
|
22
22
|
</p>
|
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.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Songzi Vuong
|
|
@@ -52,20 +52,6 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '2.1'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: jekyll-archives
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - "~>"
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: 2.1.1
|
|
62
|
-
type: :runtime
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - "~>"
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: 2.1.1
|
|
69
55
|
- !ruby/object:Gem::Dependency
|
|
70
56
|
name: bundler
|
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,9 +89,6 @@ extra_rdoc_files: []
|
|
|
103
89
|
files:
|
|
104
90
|
- LICENSE.txt
|
|
105
91
|
- README.md
|
|
106
|
-
- _includes/category_cloud.html
|
|
107
|
-
- _includes/collect_categories.html
|
|
108
|
-
- _includes/collect_tags.html
|
|
109
92
|
- _includes/disqus_comments.html
|
|
110
93
|
- _includes/footer.html
|
|
111
94
|
- _includes/google-analytics.html
|
|
@@ -116,12 +99,10 @@ files:
|
|
|
116
99
|
- _includes/icon-twitter.html
|
|
117
100
|
- _includes/icon-twitter.svg
|
|
118
101
|
- _includes/social.html
|
|
119
|
-
- _includes/tag_cloud.html
|
|
120
102
|
- _layouts/default.html
|
|
121
103
|
- _layouts/home.html
|
|
122
104
|
- _layouts/page.html
|
|
123
105
|
- _layouts/post.html
|
|
124
|
-
- _layouts/tag-archive.html
|
|
125
106
|
- _sass/minimax.scss
|
|
126
107
|
- _sass/minimax/_base.scss
|
|
127
108
|
- _sass/minimax/_layout.scss
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{% capture tempcategories %}
|
|
2
|
-
{% for category in site.categories %}
|
|
3
|
-
{{ category[1].size | plus: 1000 }}#{{ category[0] }}#{{ category[1].size }}
|
|
4
|
-
{% endfor %}
|
|
5
|
-
{% endcapture %}
|
|
6
|
-
{% assign sortedtempcategories = tempcategories | split:' ' | sort | reverse %}
|
|
7
|
-
<ul>
|
|
8
|
-
{% for tempcategory in sortedtempcategories %}
|
|
9
|
-
{% assign categoryitems = tempcategory | split: '#' %}
|
|
10
|
-
{% capture categoryname %}{{ categoryitems[1] }}{% endcapture %}
|
|
11
|
-
<li><a href="/category/{{ categoryname }}"><nobr>{{ categoryname }}</nobr></a></li>
|
|
12
|
-
{% endfor %}
|
|
13
|
-
</ul>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{% assign rawcategories = "" %}
|
|
2
|
-
{% for post in site.posts %}
|
|
3
|
-
{% assign tcategories = post.categories | join:'|' | append:'|' %}
|
|
4
|
-
{% assign rawcategories = rawcategories | append:tcategories %}
|
|
5
|
-
{% endfor %}
|
|
6
|
-
{% assign rawcategories = rawcategories | split:'|' | sort %}
|
|
7
|
-
|
|
8
|
-
{% assign site.categories = "" %}
|
|
9
|
-
{% for tag in rawcategories %}
|
|
10
|
-
{% if tag != "" %}
|
|
11
|
-
{% if categories == "" %}
|
|
12
|
-
{% assign categories = tag | split:'|' %}
|
|
13
|
-
{% endif %}
|
|
14
|
-
{% unless categories contains tag %}
|
|
15
|
-
{% assign categories = categories | join:'|' | append:'|' | append:tag | split:'|' %}
|
|
16
|
-
{% endunless %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
{% endfor %}
|
data/_includes/collect_tags.html
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{% assign rawtags = "" %}
|
|
2
|
-
{% for post in site.posts %}
|
|
3
|
-
{% assign ttags = post.tags | join:'|' | append:'|' %}
|
|
4
|
-
{% assign rawtags = rawtags | append:ttags %}
|
|
5
|
-
{% endfor %}
|
|
6
|
-
{% assign rawtags = rawtags | split:'|' | sort %}
|
|
7
|
-
|
|
8
|
-
{% assign site.tags = "" %}
|
|
9
|
-
{% for tag in rawtags %}
|
|
10
|
-
{% if tag != "" %}
|
|
11
|
-
{% if tags == "" %}
|
|
12
|
-
{% assign tags = tag | split:'|' %}
|
|
13
|
-
{% endif %}
|
|
14
|
-
{% unless tags contains tag %}
|
|
15
|
-
{% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
|
|
16
|
-
{% endunless %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
{% endfor %}
|
data/_includes/tag_cloud.html
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{% capture temptags %}
|
|
2
|
-
{% for tag in site.tags %}
|
|
3
|
-
{{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}
|
|
4
|
-
{% endfor %}
|
|
5
|
-
{% endcapture %}
|
|
6
|
-
{% assign sortedtemptags = temptags | split:' ' | sort | reverse %}
|
|
7
|
-
{% for temptag in sortedtemptags %}
|
|
8
|
-
{% assign tagitems = temptag | split: '#' %}
|
|
9
|
-
{% capture tagname %}{{ tagitems[1] }}{% endcapture %}
|
|
10
|
-
{% capture tagcount %}{{ tagitems[2] }}{% endcapture %}
|
|
11
|
-
<a href="/tag/{{ tagname }}"><nobr>#{{ tagname }}</nobr></a><sup>{{ tagcount }}</sup>
|
|
12
|
-
{% endfor %}
|
data/_layouts/tag-archive.html
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: default
|
|
3
|
-
---
|
|
4
|
-
<h1>{{ page.type }} '{{ page.title }}'</h1>
|
|
5
|
-
<ul class="posts">
|
|
6
|
-
{% for post in page.posts %}
|
|
7
|
-
<li>
|
|
8
|
-
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> » <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
|
9
|
-
</li>
|
|
10
|
-
{% endfor %}
|
|
11
|
-
</ul>
|