jekyll-theme-acg 1.0.6 → 1.0.11
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/README.md +17 -0
- data/_config.yml +74 -76
- data/_includes/chip.html +36 -0
- data/_includes/custom-head.html +0 -0
- data/_includes/flip.html +25 -0
- data/_includes/footer.html +1 -3
- data/_includes/head.html +47 -0
- data/_includes/header.html +32 -13
- data/_includes/paginator.html +38 -0
- data/_includes/posts.html +45 -44
- data/_includes/svg-category.html +10 -0
- data/_includes/svg-date.html +10 -0
- data/_includes/svg-next.html +10 -0
- data/_includes/svg-pin.html +10 -0
- data/_includes/svg-prev.html +10 -0
- data/_includes/svg-tag.html +10 -0
- data/_includes/{README.md → toc-readme.md} +0 -0
- data/_includes/toc.html +1 -5
- data/_layouts/compress.html +10 -0
- data/_layouts/page.html +119 -7
- data/_sass/markdown.scss +8 -2
- data/_sass/root.scss +0 -3
- data/assets/404.md +3 -0
- data/assets/about.md +0 -3
- data/assets/{categories.html → categories.md} +0 -1
- data/assets/friends.md +6 -0
- data/assets/{tags.html → tags.md} +0 -1
- data/index.html +1 -1
- metadata +20 -20
- data/_includes/article.html +0 -8
- data/_includes/item-category.html +0 -26
- data/_includes/item-date.html +0 -10
- data/_includes/item-pin.html +0 -2
- data/_includes/item-tag.html +0 -29
- data/_includes/style.html +0 -22
- data/_layouts/categories.html +0 -21
- data/_layouts/category.html +0 -14
- data/_layouts/default.html +0 -29
- data/_layouts/home.html +0 -54
- data/_layouts/post.html +0 -24
- data/_layouts/tag.html +0 -14
- data/_layouts/tags.html +0 -21
- data/assets/404.html +0 -6
data/_includes/posts.html
CHANGED
@@ -1,53 +1,54 @@
|
|
1
|
-
{%
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
{% if post.pin %}
|
7
|
-
{% assign posts1 = posts1 | push: post %}
|
8
|
-
{% else %}
|
9
|
-
{% assign posts2 = posts2 | push: post %}
|
10
|
-
{% endif %}
|
11
|
-
{% endfor %}
|
12
|
-
|
13
|
-
{% assign posts = posts1 | concat: posts2 %}
|
14
|
-
|
15
|
-
{% if page.layout == "home" %}
|
16
|
-
{% assign offset = paginator.page | minus: 1 | times: paginator.per_page %}
|
17
|
-
{% assign count = paginator.posts | size | minus: 1 %}
|
18
|
-
{% assign minIndex = offset %}
|
19
|
-
{% assign maxIndex = offset | plus: count %}
|
1
|
+
{% assign posts1 = "" | split: "" %}
|
2
|
+
{% assign posts2 = "" | split: "" %}
|
3
|
+
{% for post in include.posts %}
|
4
|
+
{% if post.pin %}
|
5
|
+
{% assign posts1 = posts1 | push: post %}
|
20
6
|
{% else %}
|
21
|
-
{% assign
|
22
|
-
{% assign maxIndex = posts.size | minus: 1 %}
|
7
|
+
{% assign posts2 = posts2 | push: post %}
|
23
8
|
{% endif %}
|
24
|
-
|
25
|
-
{%
|
26
|
-
|
27
|
-
{%
|
28
|
-
{%
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
9
|
+
{% endfor %}
|
10
|
+
{% assign posts = posts1 | concat: posts2 %}
|
11
|
+
|
12
|
+
{% if page.type == "home" %}
|
13
|
+
{% assign offset = paginator.page | minus: 1 | times: paginator.per_page %}
|
14
|
+
{% assign count = paginator.posts | size | minus: 1 %}
|
15
|
+
{% assign minIndex = offset %}
|
16
|
+
{% assign maxIndex = offset | plus: count %}
|
17
|
+
{% else %}
|
18
|
+
{% assign minIndex = 0 %}
|
19
|
+
{% assign maxIndex = posts.size | minus: 1 %}
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% for index in (minIndex..maxIndex) %}{% assign post = posts[index] %}
|
39
23
|
<div class="relative p-3 pb-1 rounded-lg flex flex-col justify-between bg-{{ color }}-50 bg-opacity-75 text-black">
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
24
|
+
<!-- post.pin -->
|
25
|
+
{% if post.pin %}
|
26
|
+
{% capture class %}{{ "absolute -left-2 -top-2 text-color-600" | replace: "color", color }}{% endcapture %}
|
27
|
+
{% include svg-pin.html class=class %}
|
28
|
+
{% endif %}
|
29
|
+
<!-- post.title -->
|
30
|
+
<a class="block text-3xl font-serif font-medium" href="{{ post.id | relative_url }}">
|
31
|
+
{{ post.title | default: "NO_TITLE" | escape }}
|
32
|
+
</a>
|
33
|
+
<!-- post.description -->
|
34
|
+
<span class="block p-1 text-sm font-extralight">
|
35
|
+
{{ post.description | default: post.excerpt | strip_html }}
|
36
|
+
</span>
|
44
37
|
<div class="flex flex-wrap select-none">
|
45
|
-
<div class="flex-grow">
|
38
|
+
<div class="flex-grow">
|
39
|
+
<!-- post.date -->
|
40
|
+
{% include chip.html type="date" text=post.date width=4 %}
|
41
|
+
</div>
|
46
42
|
<div class="flex flex-wrap">
|
47
|
-
|
48
|
-
{% for
|
43
|
+
<!-- post.categories -->
|
44
|
+
{% for category in post.categories %}
|
45
|
+
{% include chip.html type="category" text=category width=4 %}
|
46
|
+
{% endfor %}
|
47
|
+
<!-- post.tags -->
|
48
|
+
{% for tag in post.tags %}
|
49
|
+
{% include chip.html type="tag" text=tag width=4 %}
|
50
|
+
{% endfor %}
|
49
51
|
</div>
|
50
52
|
</div>
|
51
53
|
</div>
|
52
|
-
|
53
54
|
{% endfor %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z">
|
10
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z">
|
10
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z">
|
10
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13">
|
10
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 15l-3-3m0 0l3-3m-3 3h8M3 12a9 9 0 1118 0 9 9 0 01-18 0z">
|
10
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg
|
2
|
+
class="
|
3
|
+
{{ include.class }}
|
4
|
+
w-{{ include.width | default: include.height | default: 6 }}
|
5
|
+
h-{{ include.height | default: include.width | default: 6 }}
|
6
|
+
"
|
7
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"
|
8
|
+
>
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z">
|
10
|
+
</svg>
|
File without changes
|
data/_includes/toc.html
CHANGED
@@ -50,8 +50,4 @@
|
|
50
50
|
{% capture output %}{{ output }}</li>{% if include.ordered %}</ol>{% else %}</ul>{% endif %}{% endcapture %}
|
51
51
|
{% endfor %}
|
52
52
|
|
53
|
-
{% endcapture %}
|
54
|
-
|
55
|
-
{%- comment -%}{%- endcomment -%}
|
56
|
-
{{ output }}
|
57
|
-
{%- comment -%}{%- endcomment -%}
|
53
|
+
{% endcapture %}{{ output }}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.1.0
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/page.html
CHANGED
@@ -1,13 +1,125 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: compress
|
3
3
|
---
|
4
|
+
{% capture lang %}{{ page.lang | default: site.lang | default: "en-US" }}{% endcapture %}
|
4
5
|
|
5
|
-
{%
|
6
|
+
{% comment %} color {% endcomment %}
|
7
|
+
{% capture color %}{{ page.color | default: site.color | downcase }}{% endcapture %}
|
8
|
+
{% assign colors = "red, blue, pink, green, yellow, purple, gray, default" | split: ", " %}
|
9
|
+
{% for item in colors %}
|
10
|
+
{% if item == color %}{% break %}{% endif %}
|
11
|
+
{% if item == "default" %}{% assign color = "red" %}{% endif %}
|
12
|
+
{% endfor %}
|
6
13
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
14
|
+
{% comment %} background {% endcomment %}
|
15
|
+
{% capture background %}{{ page.background | default: site.acg.background | default: "https://cdn.jsdelivr.net/gh/coderzhaoziwei/jekyll-theme-acg/assets/images/pixiv86925095.png" | relative_url }}{% endcapture %}
|
16
|
+
|
17
|
+
{% assign title = page.title %}
|
18
|
+
{% assign description = page.description %}
|
19
|
+
{% assign content = content | strip %}
|
20
|
+
|
21
|
+
{% if page.type == "home" %}
|
22
|
+
{% capture title %}{{ site.title }}{% endcapture %}
|
23
|
+
{% capture description %}{{ site.description }}{% endcapture %}
|
24
|
+
{% elsif page.permalink == "/categories.html" %}
|
25
|
+
{% capture title %}{{ site.acg.categories.label }}{% endcapture %}
|
26
|
+
{% capture description %}{{ site.acg.categories.description }}{% endcapture %}
|
27
|
+
{% elsif page.permalink == "/tags.html" %}
|
28
|
+
{% capture title %}{{ site.acg.tags.label }}{% endcapture %}
|
29
|
+
{% capture description %}{{ site.acg.tags.description }}{% endcapture %}
|
30
|
+
{% elsif page.permalink == "/about.html" %}
|
31
|
+
{% capture title %}{{ site.acg.about.label }}{% endcapture %}
|
32
|
+
{% capture description %}{{ site.acg.about.description }}{% endcapture %}
|
33
|
+
{% elsif page.permalink == "/friends.html" %}
|
34
|
+
{% capture title %}{{ site.acg.friends.label }}{% endcapture %}
|
35
|
+
{% capture description %}{{ site.acg.friends.description }}{% endcapture %}
|
36
|
+
{% elsif page.permalink == "/404.html" %}
|
37
|
+
{% capture title %}{{ site.acg.error.label }}{% endcapture %}
|
38
|
+
{% capture description %}{{ site.acg.error.description }}{% endcapture %}
|
39
|
+
{% endif %}
|
40
|
+
|
41
|
+
{% assign list = "" | split: "" %}
|
42
|
+
{% if page.permalink == "/categories.html" %}
|
43
|
+
{% for item in site.categories %}{% assign list = list | push: item[0] %}{% endfor %}
|
44
|
+
{% elsif page.permalink == "/tags.html" %}
|
45
|
+
{% for item in site.tags %}{% assign list = list | push: item[0] %}{% endfor %}
|
46
|
+
{% endif %}
|
47
|
+
{% assign list = list | sort %}
|
48
|
+
|
49
|
+
<!DOCTYPE html>
|
50
|
+
<html lang="{{ lang }}" class="min-h-screen bg-image bg-cover bg-center bg-fixed">
|
51
|
+
{% include head.html %}
|
52
|
+
<body class="flex flex-col items-center bg-black bg-opacity-50">
|
53
|
+
{% include header.html %}
|
54
|
+
<div class="w-acg min-h-screen py-16">
|
55
|
+
<div class="w-full flex flex-col justify-center items-center content-center text-{{ color }}-50
|
56
|
+
{% if page.type == "home" %}h-screen select-none pb-16{% else %}py-32{% endif %}"
|
57
|
+
>
|
58
|
+
<!-- title -->
|
59
|
+
<div class="text-center text-4xl font-serif py-8">
|
60
|
+
{% if page.type == "category" %}
|
61
|
+
{% include chip.html type="category" text=title width=8 larger=true %}
|
62
|
+
{% elsif page.type == "tag" %}
|
63
|
+
{% include chip.html type="tag" text=title width=8 larger=true %}
|
64
|
+
{% else %}
|
65
|
+
{{ title }}
|
66
|
+
{% endif %}
|
67
|
+
</div>
|
68
|
+
<!-- description -->
|
69
|
+
<div class="text-center text-base font-sans py-8">{{ description }}</div>
|
70
|
+
|
71
|
+
<!-- categories.html & tags.html -->
|
72
|
+
<div class="flex flex-wrap justify-center items-center content-center select-none">
|
73
|
+
{% if page.permalink == "/categories.html" %}
|
74
|
+
{% for category in list %}{% assign count = site.categories[category].size %}
|
75
|
+
<div class="m-1 px-2 bg-{{ color }}-50 bg-opacity-75 rounded">
|
76
|
+
{% include chip.html type="category" text=category count=count width=4 %}
|
77
|
+
</div>
|
78
|
+
{% endfor %}
|
79
|
+
{% elsif page.permalink == "/tags.html" %}
|
80
|
+
{% for tag in list %}{% assign count = site.tags[tag].size %}
|
81
|
+
<div class="m-1 px-2 bg-{{ color }}-50 bg-opacity-75 rounded">
|
82
|
+
{% include chip.html type="tag" text=tag count=count width=4 %}
|
83
|
+
</div>
|
84
|
+
{% endfor %}
|
85
|
+
{% endif %}
|
86
|
+
</div>
|
11
87
|
</div>
|
12
|
-
|
88
|
+
|
89
|
+
<!-- article -->
|
90
|
+
{% if page.type == "post" %}
|
91
|
+
<div class="flex flex-wrap">
|
92
|
+
<div class="flex-grow">
|
93
|
+
{% include chip.html type="date" text=page.date width=4 %}
|
94
|
+
</div>
|
95
|
+
<div class="flex flex-wrap">
|
96
|
+
{% for category in page.categories %}
|
97
|
+
{% include chip.html type="category" text=category width=4 %}
|
98
|
+
{% endfor %}
|
99
|
+
{% for tag in page.tags %}
|
100
|
+
{% include chip.html type="tag" text=tag width=4 %}
|
101
|
+
{% endfor %}
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<article class="w-full my-4 mx-auto p-4 rounded-lg text-black bg-{{ color }}-50 bg-opacity-75 markdown-body">
|
105
|
+
<h1>{{ title }}</h1>
|
106
|
+
{% include toc.html html=content %}
|
107
|
+
{{ content }}
|
108
|
+
</article>
|
109
|
+
{% include flip.html %}
|
110
|
+
{% elsif content != empty %}
|
111
|
+
<article class="w-full my-4 mx-auto p-4 rounded-lg text-black bg-{{ color }}-50 bg-opacity-75 markdown-body">
|
112
|
+
{{ content }}
|
113
|
+
</article>
|
114
|
+
{% endif %}
|
115
|
+
<!-- posts -->
|
116
|
+
{% if page.type == "home" %}
|
117
|
+
<div class="w-full p-4 flex flex-col space-y-4">{% include posts.html posts=site.posts %}</div>
|
118
|
+
<div class="w-full p-4">{% include paginator.html %}</div>
|
119
|
+
{% elsif page.posts %}
|
120
|
+
<div class="w-full p-4 flex flex-col space-y-4">{% include posts.html posts=page.posts %}</div>
|
121
|
+
{% endif %}
|
13
122
|
</div>
|
123
|
+
{% include footer.html %}
|
124
|
+
</body>
|
125
|
+
</html>
|
data/_sass/markdown.scss
CHANGED
@@ -2,13 +2,19 @@
|
|
2
2
|
.markdown-body h2 {
|
3
3
|
border-bottom-color: var(--theme-600);
|
4
4
|
}
|
5
|
+
.markdown-body h4,
|
6
|
+
.markdown-body h5,
|
7
|
+
.markdown-body h6 {
|
8
|
+
color: rgba(0, 0, 0, 0.75);
|
9
|
+
}
|
10
|
+
|
5
11
|
.markdown-body hr {
|
6
12
|
background-color: var(--theme-600);
|
7
13
|
}
|
8
14
|
|
9
15
|
.markdown-body blockquote {
|
10
|
-
color: var(--theme-
|
11
|
-
border-left-color: var(--theme-
|
16
|
+
color: var(--theme-800);
|
17
|
+
border-left-color: var(--theme-800);
|
12
18
|
}
|
13
19
|
|
14
20
|
.markdown-body code:not(.hljs) {
|
data/_sass/root.scss
CHANGED
data/assets/404.md
ADDED
data/assets/about.md
CHANGED
data/assets/friends.md
ADDED
data/index.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-acg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coder Zhao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -165,33 +165,33 @@ files:
|
|
165
165
|
- LICENSE
|
166
166
|
- README.md
|
167
167
|
- _config.yml
|
168
|
-
- _includes/
|
169
|
-
- _includes/
|
168
|
+
- _includes/chip.html
|
169
|
+
- _includes/custom-head.html
|
170
|
+
- _includes/flip.html
|
170
171
|
- _includes/footer.html
|
172
|
+
- _includes/head.html
|
171
173
|
- _includes/header.html
|
172
|
-
- _includes/
|
173
|
-
- _includes/item-date.html
|
174
|
-
- _includes/item-pin.html
|
175
|
-
- _includes/item-tag.html
|
174
|
+
- _includes/paginator.html
|
176
175
|
- _includes/posts.html
|
177
|
-
- _includes/
|
176
|
+
- _includes/svg-category.html
|
177
|
+
- _includes/svg-date.html
|
178
|
+
- _includes/svg-next.html
|
179
|
+
- _includes/svg-pin.html
|
180
|
+
- _includes/svg-prev.html
|
181
|
+
- _includes/svg-tag.html
|
182
|
+
- _includes/toc-readme.md
|
178
183
|
- _includes/toc.html
|
179
|
-
- _layouts/
|
180
|
-
- _layouts/category.html
|
181
|
-
- _layouts/default.html
|
182
|
-
- _layouts/home.html
|
184
|
+
- _layouts/compress.html
|
183
185
|
- _layouts/page.html
|
184
|
-
- _layouts/post.html
|
185
|
-
- _layouts/tag.html
|
186
|
-
- _layouts/tags.html
|
187
186
|
- _sass/markdown.scss
|
188
187
|
- _sass/root.scss
|
189
188
|
- _sass/scrollbar.scss
|
190
|
-
- assets/404.
|
189
|
+
- assets/404.md
|
191
190
|
- assets/about.md
|
192
|
-
- assets/categories.
|
191
|
+
- assets/categories.md
|
193
192
|
- assets/css/style.scss
|
194
|
-
- assets/
|
193
|
+
- assets/friends.md
|
194
|
+
- assets/tags.md
|
195
195
|
- index.html
|
196
196
|
homepage: https://github.com/coderzhaoziwei/jekyll-theme-acg
|
197
197
|
licenses:
|
@@ -216,5 +216,5 @@ requirements: []
|
|
216
216
|
rubygems_version: 3.1.4
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
|
-
summary:
|
219
|
+
summary: Jekyll Theme ACG For Jekyll
|
220
220
|
test_files: []
|