klst-theme 0.1.2 → 0.1.4

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: b7312384541d5d69e94a10ed089453d1892572150ce2875bbf2561ffa68468c9
4
- data.tar.gz: 1df138e0386bb112e4863d48621455d6e450529200c08e58176bddffff27d15a
3
+ metadata.gz: d3af396bdf14ec0539b6af5c7ca3d7b7a0d7bf0ecbb91f7dcc5e443c44fb9c9f
4
+ data.tar.gz: c0fdde3b3db0876e5dead7b04f07002c5311f825332e492cd021a347f57a2a71
5
5
  SHA512:
6
- metadata.gz: 1d0c9db31f24ddbb8a8567c8df08f6c710038f67c8c9e953492ff237ca4cad54fc472a86248bb03526925324ae5a59562b4096f5f2ed8cf46a555df02478aa43
7
- data.tar.gz: 6c182cd2520307951a6a25b473924ddf6d96f6c3737e5fe0ec2199719351ed3d42597fe09f9080faed93e214061a46ce8efdd10b0c0266eca14fd04c446b06fa
6
+ metadata.gz: 35d84878921dbab4ba977b07055bd186045f1459fafc240989fc3ebf3dd0566e8b38b076c46ee1bd951dd33f0b353f0fb75b28adb2fb9282059f8471d04fb683
7
+ data.tar.gz: 8320949a5d4ed78519bb2af17c6f09e7732f9ca4c864f25d26d8b2f0aa87bdb4fdb91341960d80b20d6bbf44225f616401bd613f26efa8710748d3929036257e
data/_config.yml CHANGED
@@ -1,4 +1,9 @@
1
1
  title: KLST
2
+ organisation: My Orga e.V.
3
+ impressum: >- # this means to ignore newlines until next variable
4
+ My Orga e.V.<br>
5
+ Bernd-Lünser-Sanatorium, Zimmer 404<br>
6
+ 9001 Sample City
2
7
  markdown: kramdown
3
8
  url: ""
4
9
  logo: "/assets/svg/logo.svg"
@@ -0,0 +1,4 @@
1
+ description: "Description"
2
+ keywords: "Tag"
3
+ author: "Author"
4
+ robots: "index,follow"
data/_includes/body.html CHANGED
@@ -16,7 +16,6 @@
16
16
  <div class="container -fluid">
17
17
  {{ content }}
18
18
  {% include logo.html %}
19
-
20
19
  </div>
21
20
  </div>
22
21
  </div>
@@ -1,6 +1,5 @@
1
1
  <footer>
2
2
  <div class="content --padding-left-4">
3
- {{site.data.extra.list.footer_bio}}<br>
4
- 2025 | {{site.title}}
3
+ 2025 | <a href="/impressum">{{site.organisation}}</a>
5
4
  </div>
6
5
  </footer>
data/_includes/head.html CHANGED
@@ -1,6 +1,16 @@
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
+ {% for metadata in site.data.meta.metadata %}
5
+ <meta name={{metadata[0]}} content={{metadata[1]}}></meta>
6
+ {% endfor %}
7
+ <meta name="author" content="{{site.organisation}}" >
8
+ <meta name="url" content="{{site.baseurl}}">
9
+
4
10
  <title>{{site.title}} | {{page.title}}</title>
5
11
  <link rel="stylesheet" href="{{site.baseurl}}/assets/css/ash.css">
6
12
  <link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">
13
+
14
+ <script src="{{site.baseurl}}/assets/css/highlight-default.min.css"></script>
15
+ <script src="{{site.baseurl}}/assets/js/highlight.min.js"></script>
16
+ <script>hljs.highlightAll();</script>
data/_includes/nav.html CHANGED
@@ -1,13 +1,12 @@
1
1
  <nav>
2
- <div class="brand --padding-left-4">
3
- <header><a href="/">{{site.title}}</a></header>
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>
4
4
  </div>
5
5
  <div class="group -collapse --padding-right-2">
6
6
  <div class="dropdown -right">
7
7
  <a href="/posts" tabindex="0">
8
8
  Posts
9
9
  </a>
10
-
11
10
  </div>
12
11
  </div>
13
12
  </nav>
@@ -1,5 +1,5 @@
1
+ <!-- small list of posts -->
1
2
  <ul class="--margin-0 --padding-left-0">
2
-
3
3
  {% assign posts = site.posts %}
4
4
  {% if include.max_posts %}
5
5
  {% for post in posts limit:include.max_posts %}
data/_includes/posts.html CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  <!-- This loops through the paginated posts -->
3
2
  {% for post in paginator.posts %}
4
3
  <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
@@ -0,0 +1,9 @@
1
+ /*!
2
+ Theme: Default
3
+ Description: Original highlight.js style
4
+ Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
5
+ Maintainer: @highlightjs/core-team
6
+ Website: https://highlightjs.org/
7
+ License: see project LICENSE
8
+ Touched: 2021
9
+ */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
data/assets/css/main.css CHANGED
@@ -9,5 +9,22 @@ div.logo {
9
9
  }
10
10
 
11
11
  div.logo > img {
12
- width: 100%;
12
+ max-width: 100%;
13
+ }
14
+
15
+ div.content img {
16
+ max-width: 100%;
17
+ border-radius: 2%;
18
+ }
19
+
20
+ img.nav-logo {
21
+ max-height: 100%;
22
+ }
23
+
24
+ header {
25
+ height:inherit;
26
+ }
27
+
28
+ div.brand {
29
+ height: 100%;
13
30
  }