klst-theme 0.1.4 → 0.1.6
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/_config.yml +2 -3
- data/_data/meta/navigation.yml +4 -0
- data/_data/meta/styles.yml +3 -0
- data/_includes/body.html +1 -0
- data/_includes/head.html +7 -1
- data/_includes/logo.html +1 -1
- data/_includes/nav.html +5 -6
- data/_includes/posts.html +1 -0
- data/_includes/sidebar.html +5 -2
- data/assets/css/custom.css +1 -0
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a01c787ebdc56338a2fa349d27b30e97d4ea11814b1b8387d5fcbb609793d5
|
4
|
+
data.tar.gz: db2343e7c94d00743f1cd33e5168596dd6ccdebd0d2e607e881f0c3a86a55ad7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7824256458cb52b08535f42356c1849a84648c776df9bdc00ed4ce72e7f4c7606eb631fc603536311d0a3cc776384685b58234bf1a5942ffc67d8f0e6e9e7d
|
7
|
+
data.tar.gz: cacb6be213ef08313eb350b562f27b6b135f53735f96fe203801a759f0f23072ae6c8ff5303cdbac41113cb04f34c900a30edfdd78a5bdaac27a91b59aa18cf5
|
data/_config.yml
CHANGED
data/_includes/body.html
CHANGED
data/_includes/head.html
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
<meta charset="UTF-8">
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
4
|
+
|
4
5
|
{% for metadata in site.data.meta.metadata %}
|
5
|
-
<meta name={{metadata[0]}} content={{metadata[1]}}
|
6
|
+
<meta name="{{metadata[0]}}" content="{{metadata[1]}}">
|
6
7
|
{% endfor %}
|
8
|
+
|
7
9
|
<meta name="author" content="{{site.organisation}}" >
|
8
10
|
<meta name="url" content="{{site.baseurl}}">
|
9
11
|
|
10
12
|
<title>{{site.title}} | {{page.title}}</title>
|
13
|
+
|
14
|
+
{% for style in site.data.meta.styles.styles %}
|
15
|
+
<link rel="stylesheet" href="{{style.path}}">
|
16
|
+
{% endfor %}
|
11
17
|
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/ash.css">
|
12
18
|
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">
|
13
19
|
|
data/_includes/logo.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<div class="logo --margin-left-4"><img src="/assets/svg/logo.svg"></
|
1
|
+
<div class="logo --margin-left-4"><img src="/assets/svg/logo.svg" alt="logo of {{site.organisation}}"></div>
|
data/_includes/nav.html
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
<nav>
|
2
2
|
<div class="brand --padding-top-0 --padding-bottom-0">
|
3
|
-
<header><a href="/"><img class="nav-logo" src="/assets/svg/logo.svg"> {{site.title}}</a></header>
|
3
|
+
<header><a href="/"><img class="nav-logo" alt="logo of {{site.organisation}}" src="/assets/svg/logo.svg"> {{site.title}}</a></header>
|
4
4
|
</div>
|
5
5
|
<div class="group -collapse --padding-right-2">
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
6
|
+
{% for item in site.data.meta.navigation.navigation %}
|
7
|
+
<a href={{item.path}} class="link">{{item.name}}</a>
|
8
|
+
{% endfor %}
|
9
|
+
<a href="/posts" tabindex="0">Posts</a>
|
11
10
|
</div>
|
12
11
|
</nav>
|
data/_includes/posts.html
CHANGED
data/_includes/sidebar.html
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
|
1
|
+
{% for item in site.data.meta.navigation.navigation %}
|
2
|
+
<a href={{item.path}} class="link">{{item.name}}</a>
|
3
|
+
{% endfor %}
|
4
|
+
|
2
5
|
<details open>
|
3
6
|
<summary>Posts <i class="icon lni lni-chevron-right"></i></summary>
|
4
7
|
<div class="content --padding-left-5">
|
5
8
|
<div class="group">
|
6
9
|
{% include postlist.html max_posts=5 %}
|
7
|
-
<a href="/archive">...all
|
10
|
+
<a href="/archive">...all posts</a>
|
8
11
|
</div>
|
9
12
|
</div>
|
10
13
|
</details>
|
@@ -0,0 +1 @@
|
|
1
|
+
custom.css
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: klst-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- neko
|
@@ -61,6 +61,8 @@ files:
|
|
61
61
|
- README.md
|
62
62
|
- _config.yml
|
63
63
|
- _data/meta/metadata.yml
|
64
|
+
- _data/meta/navigation.yml
|
65
|
+
- _data/meta/styles.yml
|
64
66
|
- _includes/body.html
|
65
67
|
- _includes/footer.html
|
66
68
|
- _includes/head.html
|
@@ -79,6 +81,7 @@ files:
|
|
79
81
|
- _layouts/posts.html
|
80
82
|
- assets/css/ash.css
|
81
83
|
- assets/css/ash.css.map
|
84
|
+
- assets/css/custom.css
|
82
85
|
- assets/css/highlight-default.min.css
|
83
86
|
- assets/css/main.css
|
84
87
|
- assets/js/highlight.min.js
|