appscms-tools-theme 0.8.1 → 0.8.2
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/_data/rating/rating.json +1 -1
- data/_includes/Rating/structureddata.html +10 -2
- data/_includes/head/index.html +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a07e94df982cd20132b67b1418d359dd9b94122d067b924d8afebdf1af4073d4
|
|
4
|
+
data.tar.gz: 026b731d6cb1691a38cb738792d5d7ddf9bb7f8c862e632b29b5fdcd16a9cce5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cbbc114db37e121f919ae8db454403f1d2f19cf102b8fe956dceddc571f9dd2dcff70f034e0f3572575b6482d01d9fd8292e94570882bfdbcb0913a0bbd8118
|
|
7
|
+
data.tar.gz: 31167c2105b41e6c04a6cb2a9ca3b236a5178156d2cbcb96ad1ef5e86074d76e5f88b48cbf6638d8f369f6587d218c024db9261bf3d07eb103e81bd275ac0a2b
|
data/_data/rating/rating.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"tools":[{"name":"
|
|
1
|
+
{"tools":[{"name":"compress-pdf","rating":"4.81","votes":26},{"name":"split-pdf-rating-check","rating":"5.00","votes":2}]}
|
|
@@ -23,8 +23,16 @@
|
|
|
23
23
|
"@type": "AggregateRating",
|
|
24
24
|
"worstRating":"1",
|
|
25
25
|
"bestRating":"5",
|
|
26
|
-
"ratingValue":
|
|
27
|
-
|
|
26
|
+
"ratingValue": {%- if rating=='NaN' -%}
|
|
27
|
+
"5"
|
|
28
|
+
{%- else -%}
|
|
29
|
+
"{{rating}}"
|
|
30
|
+
{%- endif -%},
|
|
31
|
+
"ratingCount": {%- if votes== 0 -%}
|
|
32
|
+
"1"
|
|
33
|
+
{%- else -%}
|
|
34
|
+
"{{votes}}"
|
|
35
|
+
{%- endif -%}
|
|
28
36
|
},
|
|
29
37
|
"offers": {
|
|
30
38
|
"@type": "Offer",
|
data/_includes/head/index.html
CHANGED
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
<meta data-rh="true" name="twitter:title" content="{{title}}">
|
|
35
35
|
<meta data-rh="true" name="twitter:description" content="{{description}}">
|
|
36
36
|
<meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}">
|
|
37
|
+
{%- if site.pwa -%}
|
|
37
38
|
<link rel="manifest" href="./manifest.json">
|
|
39
|
+
{%- endif -%}
|
|
38
40
|
{%- for item in variable.langsupport -%}
|
|
39
41
|
<link data-rh="true" rel="alternate" href="{{site.url | append: item.permalink}}" hreflang="{{item.hreflang}}">
|
|
40
42
|
{%- endfor -%}
|
|
@@ -120,6 +122,7 @@
|
|
|
120
122
|
{%- endif -%}
|
|
121
123
|
<!-- GA -->
|
|
122
124
|
{%- include google-analytics.html -%}
|
|
125
|
+
{%- if site.pwa -%}
|
|
123
126
|
<script>
|
|
124
127
|
if ('serviceWorker' in navigator) {
|
|
125
128
|
window.addEventListener('load', () => {
|
|
@@ -129,5 +132,7 @@
|
|
|
129
132
|
})
|
|
130
133
|
}
|
|
131
134
|
</script>
|
|
135
|
+
{%- endif -%}
|
|
136
|
+
|
|
132
137
|
</head>
|
|
133
138
|
|