alembic-jekyll-theme 2.3 → 2.3.1

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
  SHA1:
3
- metadata.gz: 7aef90c1ad6cbf03f03950fd33be7ee5251ce59d
4
- data.tar.gz: 2f31d0ae6fa39d03653bc88687e7c2a1581deaff
3
+ metadata.gz: c514be5f5eea4fd850a7f560306f1572e4ecb081
4
+ data.tar.gz: 41647196de8207a5a747bd11b012bd22863a81af
5
5
  SHA512:
6
- metadata.gz: c212860c93ede8249adcfe1092688b0f898b9a5818f7b266b37831b1c63cb11f3a33c473a8d96373aa726ebb6b74a0d2d1a8ed6a25336f5c6870c24a336b530f
7
- data.tar.gz: f0d2f251b5bd36acc4fb7641aa434c3b8218863e1ce966dc5c9ae557c2941ee4ba7091a9d465bf53cf01969b35d44a7524a7cf40255c23a67b650d1c4e28505c
6
+ metadata.gz: 5a5f15daa281bde4d368c9ac1f83c2a0e7b9b78a60d3c3da6183607590c193937bb0d02fe0f4ee5f4f8ff92d195ea9c3c1bdce97fb7da8af807d3292a236e9b3
7
+ data.tar.gz: 6e8cdf31d5d8faacdb22cb52020428ac8284c227e7975c00f8feb8dcc9d45c0e497a718592faed44c812b9eadb2f44bb5419b5cb9c557414ecd0aef4682aa906
@@ -1,3 +1,15 @@
1
+ {% if page.categories %}
2
+ {% capture categories %}
3
+ {% for category in page.categories %}
4
+ <span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ category | downcase }}">{{ category }}</a></span>{% if forloop.last == false %},{% endif %}
5
+ {% endfor %}
6
+ {% endcapture %}
7
+ {% elsif page.category %}
8
+ {% capture categories %}
9
+ <span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ page.category | downcase }}">{{ page.category }}</a></span>
10
+ {% endcapture %}
11
+ {% endif %}
12
+
1
13
  <small class="small post-meta">
2
- {% if page.category %}<span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ page.category | downcase }}">{{ page.category }}</a></span>&nbsp;&nbsp;&middot;&nbsp;&nbsp;{% endif %}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
14
+ {{ categories | append: "&nbsp;&middot;&nbsp;" }}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
3
15
  </small>
@@ -229,7 +229,7 @@ $max-widths: map-values($maxwidths);
229
229
  // Check if value exists in scale.
230
230
  $in-scale: in-modular-scale(scale-0, $fontsize);
231
231
 
232
- // Set the line-height (if it isnt set at 0).
232
+ // Set the line-height (if it isn't set at 0).
233
233
  @if $lineheight != 0 {
234
234
  line-height: #{$lineheight}rem;
235
235
  }
@@ -24,7 +24,7 @@ $rootsizes: (
24
24
  ) !default;
25
25
 
26
26
  // Set the optimum line-length for your text (based on typeface).
27
- // Aim for 75100 characters a line when possible, at smaller sizes type size is more important.
27
+ // Aim for 75-100 characters a line when possible, at smaller sizes type size is more important.
28
28
  // ! Make sure to have as many widths as breakpoints above.
29
29
  // Note: this was 'maxwidths' in previous versions.
30
30
  $measures: (
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alembic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.3'
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-08 00:00:00.000000000 Z
11
+ date: 2017-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll