jekyll-theme-cheatsheet 0.0.1 → 0.0.3

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/feed.xml +26 -0
  3. data/index.html +16 -0
  4. metadata +8 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 880860da700aefbe00f99f33fc4d7bd1bf6c017974a48ff1d6c99ac372110985
4
- data.tar.gz: aa40013d2744e825d05ccc894ef458996426d2ae5d56931723cd63f0b2c102e4
3
+ metadata.gz: 6c0d575f5cd0a0d5e3d46002f1aef9b2d6271313984b08b331660b021d8cc130
4
+ data.tar.gz: 01cba66bc5c616602a2fdd6b02c296468e3b06ba66d27970b4e32d5084195ca5
5
5
  SHA512:
6
- metadata.gz: 4376b282baea4cd49f5c849304a03f620b60bb76b37084dbd2bbe6ebfcf2129c9918e766fe8e48bf35c07c221a1e7275e3a3564255c1c1497085e4098db88a2c
7
- data.tar.gz: ca35ee94b815a6dcc4b0e0abc1370f6a84a453c61f50dea37b882d95c9a571cb0ca9c779061f95aa53e383d9111b744a4a74034900a9641c7703caf91508534b
6
+ metadata.gz: c175382c0fc1e94261b52be94efeb1684d3b77d4bcf5504e469ecc89f8b0bb9bb6891d8d038925ca928678732d9254729148dc2c493d334b840fe96dda9bb51d
7
+ data.tar.gz: 570abdc64d84cf19096b28176c2470f6ca1cd55d2e32423526706d863a5dfaa1077f9a21ba1c1d706b34138dc615cd53c6021918e31956862a49e72b7a63e169
data/feed.xml ADDED
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ <?xml version="1.0" encoding="UTF-8" ?>
5
+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
6
+
7
+ <channel>
8
+ <title>{{ site.name }}</title>
9
+ <link>{{ site.url }}</link>
10
+ <description>{{ site.description | xml_escape}}</description>
11
+ <language>en-us</language>
12
+ <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
13
+
14
+ {% for post in site.posts %}
15
+ {%- if post.fav %}
16
+ <item>
17
+ <title>{{ post.title | xml_escape }}</title>
18
+ <link>{{ site.url }}{{ post.id }}/</link>
19
+ <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
20
+ <guid>{{ site.url }}{{ post.id }}</guid>
21
+ </item>
22
+ {% endif -%}
23
+ {% endfor %}
24
+ </channel>
25
+
26
+ </rss>
data/index.html ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ index: 1
4
+ ---
5
+
6
+ {% if site.posts.size > 0 %}
7
+ <ul class="index">
8
+ {% for post in site.posts %}
9
+ <li{% if post.fav %} class="fav"{% endif %}><a data-date="{{ post.date | date_to_string }}" href="{{ post.url }}">{{ post.title }}</a></li>
10
+ {% endfor %}
11
+ </ul>
12
+ {% else %}
13
+ <div>no posts, yet</div>
14
+
15
+ {% endif %}
16
+ <div class="nores">no results found</div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-cheatsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - j7k6
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-25 00:00:00.000000000 Z
11
+ date: 2025-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.3'
19
+ version: 3.10.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.3'
26
+ version: 3.10.0
27
27
  description:
28
28
  email:
29
29
  - mail@j7k6.org
@@ -37,6 +37,8 @@ files:
37
37
  - _includes/main.scss
38
38
  - _layouts/default.html
39
39
  - _layouts/post.html
40
+ - feed.xml
41
+ - index.html
40
42
  homepage: https://github.com/j7k6
41
43
  licenses: []
42
44
  metadata: {}
@@ -55,8 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
57
  - !ruby/object:Gem::Version
56
58
  version: '0'
57
59
  requirements: []
58
- rubygems_version: 3.2.3
60
+ rubygems_version: 3.3.27
59
61
  signing_key:
60
62
  specification_version: 4
61
- summary: minimal
63
+ summary: minimal jekyll theme based for cheatsheets with interactive search
62
64
  test_files: []