wai-website-theme 1.5 → 1.5.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 +4 -4
- data/_includes/resource-title.html +8 -0
- data/_includes/t.html +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5fa6fbf66eef73254edd6dbba48072b3a1b393e199fe81b22da8b34dfaf537f0
|
|
4
|
+
data.tar.gz: 7ee447e5c84686172283d91c8fb4965483718989b4587c9b43c99ebfa1c8f88c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 754fa31464e487d2e0e88fa11cf10df8dbdbd0cfd00345598ea8922e70a13707488cd6be69866a850d8fd179b0bd90e35b38cd622f2b07590ad56dcc3a1e7e78
|
|
7
|
+
data.tar.gz: 86c2292eebba77beadf64d24f95c6849e2b21544e6df27dfb1a76c1fac3737fce849cc76597982708eb7867d6701af1704bf06abe8374645fe567a4f9f844a41
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{%- assign resource=site.documents | where: "ref", include.to | where: "lang", include.lang -%}
|
|
2
|
+
{%- unless resource -%}
|
|
3
|
+
{%- assign resource=site.pages | where: "ref", include.to | where: "lang", include.lang -%}
|
|
4
|
+
{%- endunless -%}
|
|
5
|
+
{%- if resource -%}
|
|
6
|
+
{{resource.first.resource.title}}
|
|
7
|
+
{%- endif -%}
|
|
8
|
+
|
data/_includes/t.html
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
{%- if source[pagelang] -%}
|
|
20
20
|
{%- assign phrase=source[pagelang] -%}
|
|
21
21
|
{%- else -%}
|
|
22
|
-
{%- unless site.hideTranslationHints %}<mark lang="en">Needs Translation</mark> {% endunless -%}
|
|
23
|
-
{%- assign phrase=include.t -%}
|
|
22
|
+
{%- unless site.hideTranslationHints or include.hideTranslationHints %}<mark lang="en">Needs Translation</mark> {% endunless -%}
|
|
23
|
+
{%- assign phrase=include.t | prepend: '<span lang="en">' | append: '</span>' -%}
|
|
24
24
|
{%- endif -%}
|
|
25
25
|
{%- if include.replace -%}
|
|
26
26
|
{%- assign replacements = include.replace | split: "||" -%}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wai-website-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Eggert
|
|
@@ -103,6 +103,7 @@ files:
|
|
|
103
103
|
- _includes/peoplelist.html
|
|
104
104
|
- _includes/prevnext-navigation.html
|
|
105
105
|
- _includes/prevnext-order.html
|
|
106
|
+
- _includes/resource-title.html
|
|
106
107
|
- _includes/resources.html
|
|
107
108
|
- _includes/secondarynav.html
|
|
108
109
|
- _includes/sidenav.html
|