klst-theme 0.1.3 → 0.1.5

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: 933c3aec48c039ceee1405dc7170c4f4168c87d85a2e9b799b43861d0c6ec7fb
4
- data.tar.gz: 88a3e7bf99eae8420f672f6f644998601ab6c90a063b985ffa65de5662b09303
3
+ metadata.gz: '028acdf9f193a7fe70e401a36c755e4cf1710f6f23b7917ec5fcf9276109bd16'
4
+ data.tar.gz: 60a3638d95fe2408f596b46473ecc9d9930873c74dc3d8d65e123c127357677a
5
5
  SHA512:
6
- metadata.gz: 52ed7a37592900c820537cd2bb29909a5576bb1064fecd7a9104db5f5bf33ea358e4440e25747ccba70f887e1be19d25093819dd4063ecc13ff7148dd0c14897
7
- data.tar.gz: fa031d6a78c53225fa5bd38390eeed0a67dfe4023ee3b4a5998ff93a2974a497505cac92e5c9cf5decc25e82c2c4a3ec5b98dc34d731f0332be7f0044bd38df8
6
+ metadata.gz: 2f7b4df090e20a92eb1dc420579d97adcc008e57cbd3d79bb79e5877562e979ce027944e0df015bad754aa78ca29bd393ef5e71ac2b2c4781a34bad2a8852b7e
7
+ data.tar.gz: be23174c173e054e7278676ba6adb2bcc200d5c2804340281a57b2cafa48713156789e34d0bc9f6e7bcb43fcb0630e4edb94ec3326a9482edb8ce03a29fb0c9e
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klst-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - neko
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2025-06-25 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: jekyll
@@ -51,41 +52,18 @@ dependencies:
51
52
  - - "~>"
52
53
  - !ruby/object:Gem::Version
53
54
  version: '2.3'
55
+ description:
54
56
  email:
55
57
  - neko@koneko.at
56
58
  executables: []
57
59
  extensions: []
58
60
  extra_rdoc_files: []
59
- files:
60
- - LICENSE.txt
61
- - README.md
62
- - _config.yml
63
- - _includes/body.html
64
- - _includes/footer.html
65
- - _includes/head.html
66
- - _includes/logo.html
67
- - _includes/month.html
68
- - _includes/nav.html
69
- - _includes/postlist.html
70
- - _includes/posts.html
71
- - _includes/sidebar.html
72
- - _includes/year.html
73
- - _includes/years.html
74
- - _layouts/archive-month.html
75
- - _layouts/archive-year.html
76
- - _layouts/archive.html
77
- - _layouts/page.html
78
- - _layouts/posts.html
79
- - assets/css/ash.css
80
- - assets/css/ash.css.map
81
- - assets/css/highlight-default.min.css
82
- - assets/css/main.css
83
- - assets/js/highlight.min.js
84
- - assets/svg/logo.svg
61
+ files: []
85
62
  homepage: https://klst.at/
86
63
  licenses:
87
64
  - MIT
88
65
  metadata: {}
66
+ post_install_message:
89
67
  rdoc_options: []
90
68
  require_paths:
91
69
  - lib
@@ -100,7 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
78
  - !ruby/object:Gem::Version
101
79
  version: '0'
102
80
  requirements: []
103
- rubygems_version: 3.6.7
81
+ rubygems_version: 3.4.20
82
+ signing_key:
104
83
  specification_version: 4
105
84
  summary: This is a simple jekyll theme for our local linux group
106
85
  test_files: []
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2025
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README.md DELETED
@@ -1,50 +0,0 @@
1
- # klst-theme
2
-
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
-
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
-
7
- TODO: Delete this and the text above, and describe your gem
8
-
9
- ## Installation
10
-
11
- Add this line to your Jekyll site's `Gemfile`:
12
-
13
- ```ruby
14
- gem "klst-theme"
15
- ```
16
-
17
- And add this line to your Jekyll site's `_config.yml`:
18
-
19
- ```yaml
20
- theme: klst-theme
21
- ```
22
-
23
- And then execute:
24
-
25
- $ bundle
26
-
27
- Or install it yourself as:
28
-
29
- $ gem install klst-theme
30
-
31
- ## Usage
32
-
33
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
34
-
35
- ## Contributing
36
-
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/klst-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
38
-
39
- ## Development
40
-
41
- To set up your environment to develop this theme, run `bundle install`.
42
-
43
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
44
-
45
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
46
- To add a custom directory to your theme-gem, please edit the regexp in `klst-theme.gemspec` accordingly.
47
-
48
- ## License
49
-
50
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml DELETED
@@ -1,39 +0,0 @@
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
7
- markdown: kramdown
8
- url: ""
9
- logo: "/assets/svg/logo.svg"
10
-
11
- plugins:
12
- - jekyll-paginate
13
- - jekyll-archives
14
-
15
- jekyll-paginate:
16
- paginate_path: "/posts/page:num/"
17
- paginate: 5
18
-
19
- jekyll-archives:
20
- enabled: ['year', 'month']
21
- layouts:
22
- year: "archive-year"
23
- month: "archive-month"
24
- permalinks:
25
- year: '/:year/'
26
- month: '/:year/:month/'
27
- day: '/:year/:month/:day/'
28
- tag: '/tag/:name/'
29
- category: '/category/:name/'
30
-
31
- #future: true
32
-
33
- defaults:
34
- - scope:
35
- path: ""
36
- values:
37
- layout: "page"
38
-
39
- exclude: ['compile.sh', 'LICENSE', 'README.md']
data/_includes/body.html DELETED
@@ -1,27 +0,0 @@
1
- <div class="container">
2
- <div class="row">
3
- <div class="column">
4
- {% include nav.html %}
5
- </div>
6
- </div>
7
- <div class="row">
8
- <div class="column -lg-3">
9
- <aside class="--padding-4">
10
- {%include sidebar.html %}
11
- </aside>
12
- </div>
13
- <div class="column -lg-9 -fluid --padding-2">
14
- <div class="row">
15
- <div class="content">
16
- <div class="container -fluid">
17
- {{ content }}
18
- {% include logo.html %}
19
- </div>
20
- </div>
21
- </div>
22
- <div class="row">
23
- {% include footer.html %}
24
- </div>
25
- </div>
26
- </div>
27
- </div>
@@ -1,5 +0,0 @@
1
- <footer>
2
- <div class="content --padding-left-4">
3
- 2025 | <a href="/impressum">{{site.organisation}}</a>
4
- </div>
5
- </footer>
data/_includes/head.html DELETED
@@ -1,10 +0,0 @@
1
- <meta charset="UTF-8">
2
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
3
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
4
- <title>{{site.title}} | {{page.title}}</title>
5
- <link rel="stylesheet" href="{{site.baseurl}}/assets/css/ash.css">
6
- <link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">
7
-
8
- <script src="{{site.baseurl}}/assets/css/highlight-default.min.css"></script>
9
- <script src="{{site.baseurl}}/assets/js/highlight.min.js"></script>
10
- <script>hljs.highlightAll();</script>
data/_includes/logo.html DELETED
@@ -1 +0,0 @@
1
- <div class="logo --margin-left-4"><img src="/assets/svg/logo.svg"></img></div>
data/_includes/month.html DELETED
@@ -1,16 +0,0 @@
1
- <h1>Archive of posts from {{ page.date | date: "%B %Y" }}</h1>
2
-
3
- <ul class="posts">
4
- {% for post in page.posts %}
5
-
6
- {% capture day %}{{ post.date | date: '%d%m' }}{% endcapture %}
7
- {% capture next_day %}{{ post.next.date | date: '%d%m' }}{% endcapture %}
8
-
9
- {% if day != next_day %}
10
- {% if forloop.index != 1 %}</div>{% endif %}
11
- <div><h2> {{post.date | date: '%A, %e. %B %Y' }} </h2>
12
- {% endif %}
13
-
14
- <div class="--padding-left-4"><a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a></div>
15
- {% endfor %}
16
- </ul>
data/_includes/nav.html DELETED
@@ -1,12 +0,0 @@
1
- <nav>
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
- </div>
5
- <div class="group -collapse --padding-right-2">
6
- <div class="dropdown -right">
7
- <a href="/posts" tabindex="0">
8
- Posts
9
- </a>
10
- </div>
11
- </div>
12
- </nav>
@@ -1,17 +0,0 @@
1
- <!-- small list of posts -->
2
- <ul class="--margin-0 --padding-left-0">
3
- {% assign posts = site.posts %}
4
- {% if include.max_posts %}
5
- {% for post in posts limit:include.max_posts %}
6
- <li>
7
- <a href={{post.url}}>{{ post.title }}</a>
8
- </li>
9
- {% endfor %}
10
- {% else %}
11
- {% for post in posts %}
12
- <li>
13
- <a href={{post.url}}>{{ post.title }}</a>
14
- </li>
15
- {% endfor %}
16
- {% endif %}
17
- </ul>
data/_includes/posts.html DELETED
@@ -1,76 +0,0 @@
1
- <!-- This loops through the paginated posts -->
2
- {% for post in paginator.posts %}
3
- <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
4
- <p class="author">
5
- <span class="date">{{ post.date }}</span>
6
- </p>
7
- <div class="content">
8
- {{ post.content }}
9
- </div>
10
- {% endfor %}
11
-
12
- {% if paginator.total_pages > 1 %}
13
- <ul class="pagination">
14
- {% if paginator.previous_page %}
15
- <li> <a href="{{ paginator.previous_page_path | relative_url }}">&laquo; Prev</a></li>
16
- {% else %}
17
- <li><span>&laquo; Prev</span></li>
18
- {% endif %}
19
-
20
- {% comment %}what follows is logic to make the current page number surrounded by the next and previous page number{% endcomment %}
21
- {% assign limit = 3 %}
22
- {% if paginator.total_pages > limit %}
23
- {% assign max_pages = 3 %}
24
- {% else %}
25
- {% assign max_pages = paginator.total_pages %}
26
- {% endif %}
27
-
28
- {% comment %}in shopify liquid, math cannot be done nested{% endcomment %}
29
- {% assign max_pages_minus_one = max_pages | minus: 1 %}
30
- {% assign total_pages_minus_one = paginator.total_pages | minus: 1 %}
31
-
32
- {% if paginator.next_page == nil %}
33
- <li><span>...</span></li>
34
-
35
- {% for page in (paginator.previous_page..paginator.total_pages) %}
36
- {% if page == paginator.total_pages %}
37
- <li class="-active"><a href="#">{{ page }}</a></li>
38
- {% else %}
39
- <li><a href="{{paginator.previous_page_path}}">{{ page }}</a></li>
40
- {% endif %}
41
- {% endfor %}
42
-
43
- {% elsif paginator.page >= max_pages_minus_one %}
44
-
45
- {% for page in (paginator.previous_page..paginator.next_page) %}
46
- {% if page == paginator.page-1 %}
47
- <li><a href="paginator.previous_page_path">{{ page }}</a></li>
48
- {% elsif page == paginator.page %}
49
- <li class="-active"><a href="#">{{ page }}</a></li>
50
- {% else %}
51
- <li><a href="{{paginator.next_page_path}}">{{ page }}</a></li>
52
- {% endif %}
53
- {% endfor %}
54
-
55
- {% else %}
56
- {% for page in (1..paginator.total_pages) limit:max_pages_minus_one %}
57
- {% if page == paginator.page %}
58
- <li class="-active"><a href="#">{{ page }}</a></li>
59
- {% elsif page == 1 %}
60
- <li><a href="{{ site.paginate_path | relative_url | replace: 'page:num/', '' }}">{{ page }}</a></li>
61
- {% else %}
62
- <li><a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a></li>
63
- {% endif %}
64
- {% endfor %}
65
- <li><span>...</span></li>
66
-
67
- {% endif %}
68
-
69
-
70
- {% if paginator.next_page %}
71
- <li><a href="{{ paginator.next_page_path | relative_url }}">Next &raquo;</a></li>
72
- {% else %}
73
- <li><span>Next &raquo;</span></li>
74
- {% endif %}
75
- </ul>
76
- {% endif %}
@@ -1,10 +0,0 @@
1
- <a href="/" class="link">Home</a>
2
- <details open>
3
- <summary>Posts <i class="icon lni lni-chevron-right"></i></summary>
4
- <div class="content --padding-left-5">
5
- <div class="group">
6
- {% include postlist.html max_posts=5 %}
7
- <a href="/archive">...all Posts</a>
8
- </div>
9
- </div>
10
- </details>
data/_includes/year.html DELETED
@@ -1,14 +0,0 @@
1
- <h1>Archive of posts from {{ page.date | date: "%Y" }}</h1>
2
-
3
- <ul>
4
- {% for post in page.posts %}
5
- {% capture month %}{{ post.date | date: '%m' }}{% endcapture %}
6
- {% capture next_month %}{{ post.next.date | date: '%m' }}{% endcapture %}
7
-
8
- {% if month != next_month %}
9
- {% if forloop.index != 1 %}</div>{% endif %}
10
- <div><a href="/{{ page.date | date: "%Y" }}/{{month}}"><h2>{{post.date | date: '%B' }}</h2></a>
11
- {% endif %}
12
-
13
- {% endfor %}
14
- </ul>
data/_includes/years.html DELETED
@@ -1,16 +0,0 @@
1
- <h1> Archive of posts by year </h1>
2
-
3
- <ul>
4
- {% for post in site.posts %}
5
- {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
6
- {% capture next_year %}{{ post.next.date | date: '%Y' }}{% endcapture %}
7
-
8
- {% if year != next_year %}
9
- {% comment %} if the years dont match we have a new year, if it's not the first occurance close the div now {% endcomment %}
10
-
11
- {% if forloop.index != 1 %}</div>{% endif %}
12
- <div><a href="/{{year}}"><h2> {{post.date | date: '%Y' }}</h2></a>
13
- {% endif %}
14
-
15
- {% endfor %}
16
- </ul>
@@ -1,5 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- {% include month.html %}
@@ -1,5 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- {% include year.html %}
@@ -1,7 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- {{content}}
6
-
7
- {% include years.html %}
data/_layouts/page.html DELETED
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en" class="light">
3
- <head>
4
- {% include head.html %}
5
- </head>
6
- <body>
7
- {% include body.html %}
8
- </body>
9
- </html>
data/_layouts/posts.html DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- title: Posts
3
- layout: page
4
- ---
5
- {% include posts.html %}