amp_base_theme 0.0.6 → 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/amp_components.yaml +1 -0
- data/_data/pwa_ignore.yaml +1 -0
- data/_includes/head.html +2 -1
- data/_includes/head/amp-components.html +13 -0
- data/_includes/head/amp-custom.html +0 -5
- data/_includes/head/google-fonts.html +6 -0
- data/_layouts/default.html +0 -1
- data/assets/manifest.json +0 -1
- data/assets/sitemap-pages.xml +1 -1
- data/deploy.sh +1 -0
- metadata +18 -4
- data/_layouts/story.html +0 -4
- data/_layouts/website.html +0 -6
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/amp_components.yaml
CHANGED
data/_data/pwa_ignore.yaml
CHANGED
data/_includes/head.html
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
{% include head/seo.html %}
|
3
3
|
{% include head/amp-boilerplate.html %}
|
4
4
|
{% include head/amp-custom.html %}
|
5
|
-
<script async src="https://cdn.ampproject.org/v0.js"></script>
|
5
|
+
<script async src="https://cdn.ampproject.org/v0.js"></script>
|
6
|
+
{% include head/google-fonts.html %}
|
6
7
|
{% include head/amp-components.html %}
|
7
8
|
</head>
|
@@ -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/_layouts/default.html
CHANGED
data/assets/manifest.json
CHANGED
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
ADDED
@@ -0,0 +1 @@
|
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amp_base_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Himsel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-data
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.1'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,14 +74,13 @@ files:
|
|
60
74
|
- _includes/head/amp-boilerplate.html
|
61
75
|
- _includes/head/amp-components.html
|
62
76
|
- _includes/head/amp-custom.html
|
77
|
+
- _includes/head/google-fonts.html
|
63
78
|
- _includes/head/seo.html
|
64
79
|
- _includes/head/structured-data.html
|
65
80
|
- _includes/pwa/sw.html
|
66
81
|
- _layouts/amp-base.html
|
67
82
|
- _layouts/compress.html
|
68
83
|
- _layouts/default.html
|
69
|
-
- _layouts/story.html
|
70
|
-
- _layouts/website.html
|
71
84
|
- assets/_headers
|
72
85
|
- assets/feed.xml
|
73
86
|
- assets/google-news.xml
|
@@ -79,6 +92,7 @@ files:
|
|
79
92
|
- assets/sitemap.xml
|
80
93
|
- assets/sw.html
|
81
94
|
- assets/sw.js
|
95
|
+
- deploy.sh
|
82
96
|
homepage: https://github.com/lukas-h/amp_base_theme
|
83
97
|
licenses:
|
84
98
|
- MIT
|
data/_layouts/story.html
DELETED