tale 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/_includes/catalogue_item.html +19 -0
- data/_layouts/home.html +7 -16
- data/_sass/tale/_catalogue.scss +6 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ce3370a26510b826136fa232c80db4e4e9358311aa62edae86f68107f955717
|
4
|
+
data.tar.gz: 6ee93b8e79aab8ecce41e451863fe050ca696f3d0bd52b1ca60500870294cf6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30213d699ecc3adf39a7830a5b3e304e593c0dcab4ef85e795ceb9c5b6317e73f5397e230148b11cf445fa74f2e6f9ea9380d55b5989efebbd32796b1b28892a
|
7
|
+
data.tar.gz: 6eafc282950b87f1d588347fa08ae246fe62d8eea693ce948550d33d7173ebd6fa6b4d9e34cbbfa9aa28bc0254ccb77e8ce24408d80e9244d2e13cd51b883803
|
data/README.md
CHANGED
@@ -13,6 +13,9 @@ Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here
|
|
13
13
|
- Syntax highlighting, with the help of Pygments
|
14
14
|
- Markdown and HTML text formatting
|
15
15
|
- Pagination of posts
|
16
|
+
- Sticky posts
|
17
|
+
- Tags
|
18
|
+
- Excerpt management
|
16
19
|
- [Disqus comments (can be enabled if needed)](#enabling-comments)
|
17
20
|
|
18
21
|
## Installation
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item">
|
2
|
+
<div>
|
3
|
+
{% if include.sticky == 'true' %}
|
4
|
+
<span class="catalogue-pinned">Pinned ·</span>
|
5
|
+
{% endif %}
|
6
|
+
<time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time>
|
7
|
+
<h1 class="catalogue-title">{{ post.title }}</h1>
|
8
|
+
<div class="catalogue-line"></div>
|
9
|
+
|
10
|
+
<p>
|
11
|
+
{% if post.excerpt_separator %}
|
12
|
+
{{ post.excerpt | strip_html }}
|
13
|
+
{% else %}
|
14
|
+
{{ post.content | strip_html | truncatewords: 30 }}
|
15
|
+
{% endif %}
|
16
|
+
</p>
|
17
|
+
|
18
|
+
</div>
|
19
|
+
</a>
|
data/_layouts/home.html
CHANGED
@@ -3,23 +3,14 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<div class="catalogue">
|
6
|
-
{% for post in
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<div class="catalogue-line"></div>
|
12
|
-
|
13
|
-
<p>
|
14
|
-
{% if post.excerpt_separator %}
|
15
|
-
{{ post.excerpt | strip_html }}
|
16
|
-
{% else %}
|
17
|
-
{{ post.content | strip_html | truncatewords: 30 }}
|
18
|
-
{% endif %}
|
19
|
-
</p>
|
6
|
+
{% for post in site.posts %}
|
7
|
+
{% if post.sticky %}
|
8
|
+
{% include catalogue_item.html sticky='true' %}
|
9
|
+
{% endif %}
|
10
|
+
{% endfor %}
|
20
11
|
|
21
|
-
|
22
|
-
|
12
|
+
{% for post in paginator.posts %}
|
13
|
+
{% include catalogue_item.html %}
|
23
14
|
{% endfor %}
|
24
15
|
</div>
|
25
16
|
|
data/_sass/tale/_catalogue.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chester How
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- LICENSE
|
105
105
|
- README.md
|
106
106
|
- _includes/analytics.html
|
107
|
+
- _includes/catalogue_item.html
|
107
108
|
- _includes/disqus_comments.html
|
108
109
|
- _includes/footer.html
|
109
110
|
- _includes/head.html
|
@@ -146,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
147
|
- !ruby/object:Gem::Version
|
147
148
|
version: '0'
|
148
149
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
150
|
+
rubygems_version: 3.2.16
|
150
151
|
signing_key:
|
151
152
|
specification_version: 4
|
152
153
|
summary: Tale is a minimal Jekyll theme curated for storytellers.
|