amp_base_theme 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/pwa_ignore.yaml +1 -0
- data/_includes/head/amp-components.html +13 -0
- data/assets/sitemap-pages.xml +1 -1
- data/deploy.sh +1 -1
- 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: 125416c80d01d563546707a646eaa079258fc2a3bac3d57e9237f13314096e24
|
4
|
+
data.tar.gz: 9cb52b71a61331412de33275103ea5aee78345a0483f2403baf58e2ce8ad03d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be2797ed962fefbf71e8b86dd03766bc7b04cbecde4cfafa0c86509f1d37c0b26b483c5b76ace556f033751cbc8dec23086198373fca2ceab1d4c3877bcb0ba5
|
7
|
+
data.tar.gz: 1ca8c7a6fef240b908a9c15277b0d729cfbee57987ebbaff6c20404949141902df784b0f438170eb0894436013796a5a36eb84eeab87bdd90a9aabec5b37f476
|
data/_data/pwa_ignore.yaml
CHANGED
@@ -40,6 +40,19 @@
|
|
40
40
|
{% endif %}
|
41
41
|
{% endif %}
|
42
42
|
|
43
|
+
{% if site.cookie_consent %}
|
44
|
+
|
45
|
+
{% if component_keys contains "amp-analytics" %}{% else %}
|
46
|
+
|
47
|
+
{% assign consent_comp = site.data.amp_components | where: "name", "amp-consent" %}
|
48
|
+
{% assign components = components | concat: consent_comp %}
|
49
|
+
{% assign comp_name = "amp-consent" | split: "" %}
|
50
|
+
{% assign component_keys = component_keys | concat: comp_name %}
|
51
|
+
|
52
|
+
{% endif %}
|
53
|
+
|
54
|
+
{% endif %}
|
55
|
+
|
43
56
|
{% if site.pwa %}
|
44
57
|
{% if component_keys contains "amp-install-serviceworker" %}{% else %}
|
45
58
|
|
data/assets/sitemap-pages.xml
CHANGED
@@ -7,7 +7,7 @@ permalink: "sitemap-pages.xml"
|
|
7
7
|
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
8
8
|
{% assign documents = site.pages %}
|
9
9
|
{% for p in documents %}
|
10
|
-
{% if p.output == false
|
10
|
+
{% if p.output == false or p.path contains "assets" %}
|
11
11
|
{% else %}
|
12
12
|
{% assign u = p.url %}{% assign usize = u | size | minus: 1 %}
|
13
13
|
{% assign u = u | slice: usize %}{% if u != '/' and u != 'l' and usize <= 1 %}{% assign x = p.url | append: '.html' %}{% else %}{% assign x = p.url %}{% endif %}
|
data/deploy.sh
CHANGED
@@ -1 +1 @@
|
|
1
|
-
gem build amp_base_theme && sudo gem install amp_base_theme-0.0.
|
1
|
+
gem build amp_base_theme && sudo gem install amp_base_theme-0.0.12.gem && gem contents amp_base_theme --version "=0.0.12" && gem push amp_base_theme-0.0.12.gem
|