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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +25 -13
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1077a8384998ac82d628af2661c507a66e21ee0eed04f0abde2fbe8aeca1f4af
4
- data.tar.gz: f5dd00892025c750b0792c44cab889ae735ed4e6bf964a33c23598276e123cb5
3
+ metadata.gz: 02dec30a7cb55e8394b58d758773636047073d836c522d1acfcb5a8df35005b0
4
+ data.tar.gz: 6db0d981ea0d310c1a47c05563d0941823b0cc317a3bacf8f1c692cad14d4a16
5
5
  SHA512:
6
- metadata.gz: 8b0b03117916a47a709567345557dcbc3dbf27914ea486fec78aaedaa76aa9245829b75d5ee92f002d9d2002f5a7f808568af67dabf56d1267265b9cc1feedeb
7
- data.tar.gz: 2632da2b88a4ae6dfcabb76ffaaeed0cc25b14650a9f16c30d7bcd1f518ca1e48355f8400654500f036d7fee9b1b9070f7578aa50b9a5f934d5bb3b449ca4099
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: "index.md" %}
10
- {%- assign blog_page = site.pages | where: "path", blog_page_path | first -%}
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 class="circle-progress" r="18" cy="20" cx="20" stroke-linejoin="round" stroke-linecap="round" />
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
- {{ content | toc | img_prefix }}
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
- {% include comments.html -%}
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
- <script>hljs.initHighlightingOnLoad();</script>
41
- {%- endif -%}
42
- {%- include footer.html -%}
51
+ <script>
52
+ hljs.initHighlightingOnLoad();
53
+ </script>
54
+ {%- endif -%} {%- include footer.html -%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - HugheX