jekyll-theme-cheatsheet 0.0.1 → 0.0.2

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 +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 880860da700aefbe00f99f33fc4d7bd1bf6c017974a48ff1d6c99ac372110985
4
- data.tar.gz: aa40013d2744e825d05ccc894ef458996426d2ae5d56931723cd63f0b2c102e4
3
+ metadata.gz: b544cc98c9adc55ef2b92496719dae43879b0b474b13fe89692b4f37369d91a9
4
+ data.tar.gz: 7b4ef08a0e351b268ca8613bae96664e5a6f65c5a39a12a0e484d91c4ac0cd57
5
5
  SHA512:
6
- metadata.gz: 4376b282baea4cd49f5c849304a03f620b60bb76b37084dbd2bbe6ebfcf2129c9918e766fe8e48bf35c07c221a1e7275e3a3564255c1c1497085e4098db88a2c
7
- data.tar.gz: ca35ee94b815a6dcc4b0e0abc1370f6a84a453c61f50dea37b882d95c9a571cb0ca9c779061f95aa53e383d9111b744a4a74034900a9641c7703caf91508534b
6
+ metadata.gz: 448a2e654687c77c7ecd50d65e8ebee9f2d0e715727cd73aed72a55c455031916bd07a46dbc28df37dca7ce0f5db4827bbbcb4776665ca7bf123b1d1c75a2ead
7
+ data.tar.gz: 51aca9f694d797e4272ba259f1bf3e364bee748cce00cec363ee453c7ef517f153b764890dc7b1c473c299b1bd18a2bdc4ff7f6c08ad3d7bce2d18d8aef40ea6
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,7 +1,7 @@
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - j7k6
@@ -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: {}
@@ -58,5 +60,5 @@ requirements: []
58
60
  rubygems_version: 3.2.3
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: []