jekyll-theme-acg 1.0.11 → 1.0.12

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: 22a1409600ed35b4705d463977468cc0a8fd9b84ba07ff9901d66b8ac36a5e6f
4
- data.tar.gz: 161493328a0178531e75bc4f23699335c6f3744011bc97a007bc31f2c96381f1
3
+ metadata.gz: d0ebe65d00ff1b13954d9ad9d17ff30969ac57e08c06dcbb6eafad7da26f153b
4
+ data.tar.gz: 7e4655460e9f9e0c17dfd70f81f03e51db16be7db38c8d68e2d3b7db6dd5281b
5
5
  SHA512:
6
- metadata.gz: 82b47a3b5a88ea5ddbf26a59f563c342e4d5ce6870555bfd79382ca8f88ef4345a7baeb77436f7c3fe698f526b712583f47b425fa92373b05c9f1f222e981bd6
7
- data.tar.gz: a200df938baa636502f72d6389173e75919f3ee427ef3eecb688afa4252d96432a51737d63da550246a493fb2d4985bd48b158efeff1e4ee2592f42de750b1d2
6
+ metadata.gz: df76671b47f54391ade85663f10a2450b5da9d983f9b49d26ed738a77d47f740a1b430c7831ab20ddc2c14fa1624751513b09a72efee92371de2f78942ce8b86
7
+ data.tar.gz: 237486fbdbccc787f884ba48f6ab910220378456a1c8c19312fbacb88c8fc3c54f86f1d122655e06b63a127bab590c96be92939835d53a90f741b16f59170800
data/_config.yml CHANGED
@@ -3,11 +3,9 @@ baseurl:
3
3
  title: Jekyll Theme ACG
4
4
  description: An awesome theme for Jekyll.
5
5
  author: Coder Zhao
6
- lang: en-US
7
- # Theme Name
6
+ lang:
8
7
  theme: jekyll-theme-acg
9
8
 
10
-
11
9
  acg:
12
10
  # Theme Color
13
11
  # Default: red
@@ -17,21 +15,20 @@ acg:
17
15
  # Default: https://cdn.jsdelivr.net/gh/coderzhaoziwei/jekyll-theme-acg/assets/images/pixiv86925095.png
18
16
  background:
19
17
  categories:
20
- label: Categories
18
+ label:
21
19
  description:
22
20
  tags:
23
- label: Tags
21
+ label:
24
22
  description:
25
23
  about:
26
- label: About
24
+ label:
27
25
  description:
28
26
  friends:
29
- label: Friends
27
+ label:
30
28
  description:
31
29
  error:
32
- label: <span class="text-6xl">404</span>
33
- description: "Page not found."
34
-
30
+ label:
31
+ description:
35
32
 
36
33
  exclude: [
37
34
  "LICENSE",
@@ -43,7 +40,6 @@ exclude: [
43
40
  "*.gemspec",
44
41
  ]
45
42
 
46
-
47
43
  defaults:
48
44
  - scope: # all
49
45
  path: ""
@@ -62,14 +58,12 @@ defaults:
62
58
  permalink: /posts/:title
63
59
  type: post
64
60
 
65
-
66
61
  paginate: 10
67
62
  show_excerpt: true
68
63
  paginate_path: /page:num
69
64
  sass:
70
65
  style: compressed
71
66
 
72
-
73
67
  # ************************************************ #
74
68
  # #
75
69
  # Jekyll Archives #
@@ -9,7 +9,7 @@
9
9
  {% capture tagsLabel %}{{ site.acg.tags.label | default: "Tags" }}{% endcapture %}
10
10
 
11
11
  {% capture aboutUrl %}{{ "/about" | relative_url }}{% endcapture %}
12
- {% capture aboutLabel %}{{ site.acg.about.label | default: "Tags" }}{% endcapture %}
12
+ {% capture aboutLabel %}{{ site.acg.about.label | default: "About" }}{% endcapture %}
13
13
 
14
14
  {% capture friendsUrl %}{{ "/friends" | relative_url }}{% endcapture %}
15
15
  {% capture friendsLabel %}{{ site.acg.friends.label | default: "Friends" }}{% endcapture %}
data/_layouts/page.html CHANGED
@@ -22,20 +22,20 @@ layout: compress
22
22
  {% capture title %}{{ site.title }}{% endcapture %}
23
23
  {% capture description %}{{ site.description }}{% endcapture %}
24
24
  {% elsif page.permalink == "/categories.html" %}
25
- {% capture title %}{{ site.acg.categories.label }}{% endcapture %}
25
+ {% capture title %}{{ site.acg.categories.label | default: "Categories" }}{% endcapture %}
26
26
  {% capture description %}{{ site.acg.categories.description }}{% endcapture %}
27
27
  {% elsif page.permalink == "/tags.html" %}
28
- {% capture title %}{{ site.acg.tags.label }}{% endcapture %}
28
+ {% capture title %}{{ site.acg.tags.label | default: "Tags" }}{% endcapture %}
29
29
  {% capture description %}{{ site.acg.tags.description }}{% endcapture %}
30
30
  {% elsif page.permalink == "/about.html" %}
31
- {% capture title %}{{ site.acg.about.label }}{% endcapture %}
31
+ {% capture title %}{{ site.acg.about.label | default: "About" }}{% endcapture %}
32
32
  {% capture description %}{{ site.acg.about.description }}{% endcapture %}
33
33
  {% elsif page.permalink == "/friends.html" %}
34
- {% capture title %}{{ site.acg.friends.label }}{% endcapture %}
34
+ {% capture title %}{{ site.acg.friends.label | default: "Friends" }}{% endcapture %}
35
35
  {% capture description %}{{ site.acg.friends.description }}{% endcapture %}
36
36
  {% elsif page.permalink == "/404.html" %}
37
- {% capture title %}{{ site.acg.error.label }}{% endcapture %}
38
- {% capture description %}{{ site.acg.error.description }}{% endcapture %}
37
+ {% capture title %}{{ site.acg.error.label | default: '<span class="text-6xl">404</span>' }}{% endcapture %}
38
+ {% capture description %}{{ site.acg.error.description | default: "Page not found." }}{% endcapture %}
39
39
  {% endif %}
40
40
 
41
41
  {% assign list = "" | split: "" %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-acg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coder Zhao