jekyll-theme-amethyst 0.5.6 → 0.5.7

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: bc62c023ae273db79b3acc529dddc7135d43bfe271fb6881f1bb40ddd1cfe8e2
4
- data.tar.gz: e942d04b53cebbc392adeb2568e2c76cc89375c4d2856088e7b3b4882af6536f
3
+ metadata.gz: 90449421ecfadb012884085449011ee5dab5591d35983192c1c3372ec63cdcb6
4
+ data.tar.gz: 2877587c0a2ca8f287c08bfe89721e5e8df1a15094b3a0a5c3aae7f5533d2eb0
5
5
  SHA512:
6
- metadata.gz: 1d408de5207f6847843de164aefefe67e2625788d31cef75e7f3a01d0c9c259d7750465e3efef0acf3572e2561002b5852a7a05b3f2951c009abf6d0715a4a8a
7
- data.tar.gz: 31238e7c423a739c1a779ad90a98192efa45d6b7898fe958ddac5f6b69bf71548ac882a705d7e4f5a8115837b972a75d8a6f5f316deec5d5c7d320732c29354c
6
+ metadata.gz: a58c53b9d5df42713e5216c4a9c3dfc0862f44a8816c31315c2d72ca99d2a70c2b75ee1f854a9c02d5292d9783295b9e2af6fb8116ca63e92c5d420f7019a808
7
+ data.tar.gz: 9e9d1b63b40de2de3c0e25c166d79203c971f4c6b8ea81adef3762b47b94d1e6b8a1749722efef323df32a7c290bc3afc00c5d7c8396e34e703e480089c91d44
@@ -22,7 +22,11 @@ Parameters:
22
22
  {%- endif -%}
23
23
 
24
24
  {%- if include.version == "unreleased" -%}
25
- not yet released<span class="sep">.</span>
25
+ {%- if include.label == "version added" -%}
26
+ not yet released<span class="sep">.</span>
27
+ {%- else -%}
28
+ {{ include.label }}: {{ include.version | escape }}<span class="sep">.
29
+ {%- endif -%}
26
30
  {%- else -%}
27
31
  {{ include.label }}: {% if site.amethyst.release_base %}<a href="{{ site.amethyst.release_base }}{{ _full_version | escape }}">{{ include.version | escape }}</a>{% else %}{{ include.version | escape }}{% endif %}<span class="sep">.</span>
28
32
  {%- endif -%}
@@ -41,10 +41,6 @@ do that here for convenience.
41
41
  {%- endif %}
42
42
  </header>
43
43
  {% if page.version_added or page.version_deprecated -%}
44
- {%- assign warning = false -%}
45
- {%- if page.version_added == "unreleased" or page.version_deprecated or page.version_removed -%}
46
- {%- assign warning = true -%}
47
- {%- endif -%}
48
44
  <p class="version-details">
49
45
  {%- if page.version_added %}
50
46
  {% include version.html version=page.version_added label="version added" %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-amethyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Tijhof
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-10-13 00:00:00.000000000 Z
12
+ date: 2023-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll