jekyll-theme-hext 0.2.6 → 0.2.7
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/_layouts/post.html +25 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02dec30a7cb55e8394b58d758773636047073d836c522d1acfcb5a8df35005b0
|
4
|
+
data.tar.gz: 6db0d981ea0d310c1a47c05563d0941823b0cc317a3bacf8f1c692cad14d4a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 419669778843c5beadce19d0df328e859d8c8866b3fbe7b95c4fbd5d7732be3c80d05ca6ef6da0e47b524b980a19b4735625670da9cdc1f06fd965d7eeb73c6c
|
7
|
+
data.tar.gz: 52ab237072b3cd1db893a9d85c425135a62fc38d26cee6de12296ca464d338269efdc1666fae761b4e201fb65d08e67710a7e65eb19264efce60d64b0e82a862
|
data/_layouts/post.html
CHANGED
@@ -1,17 +1,26 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
+
|
4
5
|
{%- include header.html -%}
|
5
6
|
<main class="post__wrapper">
|
6
7
|
{%- include header_nav.html -%}
|
7
8
|
<div class="post__top_navs clearfix">
|
8
9
|
<nav class="post__archive_path">
|
9
|
-
{%- assign blog_page_path = site.theme_setting.blog_page | default:
|
10
|
-
{%- assign blog_page = site.pages | where: "path",
|
10
|
+
{%- assign blog_page_path = site.theme_setting.blog_page | default:
|
11
|
+
"index.md" %} {%- assign blog_page = site.pages | where: "path",
|
12
|
+
blog_page_path | first -%}
|
11
13
|
<a href="{{ blog_page.url | relative_url }}" id="archiveBtn">
|
12
14
|
<div class="post__archive_icon">
|
13
15
|
<svg width="40" height="40">
|
14
|
-
<circle
|
16
|
+
<circle
|
17
|
+
class="circle-progress"
|
18
|
+
r="18"
|
19
|
+
cy="20"
|
20
|
+
cx="20"
|
21
|
+
stroke-linejoin="round"
|
22
|
+
stroke-linecap="round"
|
23
|
+
/>
|
15
24
|
</svg>
|
16
25
|
<span class="post__archive_icon"></span>
|
17
26
|
</div>
|
@@ -26,17 +35,20 @@ layout: default
|
|
26
35
|
<time>{{ page.date | date: "%Y-%m-%d %H:%M" }}</time>
|
27
36
|
</div>
|
28
37
|
</header>
|
29
|
-
<div class="post__content content">
|
30
|
-
|
38
|
+
<div class="post__content content">{{ content | toc | img_prefix }}</div>
|
39
|
+
<div>
|
40
|
+
<span id="busuanzi_container_page_pv" style="display: inline">
|
41
|
+
<div class="padding border border-sub border-dotted fadein-left">
|
42
|
+
本文总阅读量<span id="busuanzi_value_page_pv"></span>次
|
43
|
+
</div>
|
44
|
+
</span>
|
31
45
|
</div>
|
32
46
|
</article>
|
33
|
-
{%- if site.comment.enabled -%}
|
34
|
-
|
35
|
-
{%- else -%}
|
36
|
-
{% include contact.html -%}
|
37
|
-
{%- endif -%}
|
47
|
+
{%- if site.comment.enabled -%} {% include comments.html -%} {%- else -%} {%
|
48
|
+
include contact.html -%} {%- endif -%}
|
38
49
|
</main>
|
39
50
|
{%- if site.theme_setting.code or page.code -%}
|
40
|
-
|
41
|
-
|
42
|
-
|
51
|
+
<script>
|
52
|
+
hljs.initHighlightingOnLoad();
|
53
|
+
</script>
|
54
|
+
{%- endif -%} {%- include footer.html -%}
|