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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da063a29fd06e07c4941545f760b1695611d65016eda41f9de3b83d99918a8c6
4
- data.tar.gz: f252e284e9c2087ef9cf14d445bc1d92529d9b55ee9ed09621123db1bbc8a71c
3
+ metadata.gz: 9ce3370a26510b826136fa232c80db4e4e9358311aa62edae86f68107f955717
4
+ data.tar.gz: 6ee93b8e79aab8ecce41e451863fe050ca696f3d0bd52b1ca60500870294cf6d
5
5
  SHA512:
6
- metadata.gz: 055134b98f2cca7c71dfb8cc67500808e6ca395f576c480087110333b17dcb1ae1dab234b35a3d73f0ed447753815530cb73410b79aed4abd620a33256d49260
7
- data.tar.gz: 63e65aecfb62edf8a360753219d23bd3a8174d43aa799920b33459c864fd649c788baf492e7059921d447449cb9999f5a2a38b13b517891606510dd667481d42
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 &middot;</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 paginator.posts %}
7
- <a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item">
8
- <div>
9
- <time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time>
10
- <h1 class="catalogue-title">{{ post.title }}</h1>
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
- </div>
22
- </a>
12
+ {% for post in paginator.posts %}
13
+ {% include catalogue_item.html %}
23
14
  {% endfor %}
24
15
  </div>
25
16
 
@@ -15,6 +15,12 @@
15
15
  }
16
16
  }
17
17
 
18
+ &-pinned {
19
+ color: $default-tint;
20
+ font-family: $serif-secondary;
21
+ letter-spacing: .5px;
22
+ }
23
+
18
24
  &-time {
19
25
  color: $default-tint;
20
26
  font-family: $serif-secondary;
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.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-04-30 00:00:00.000000000 Z
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.1.2
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.