amp_base_theme 0.0.4 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/404.md +1 -1
- data/CHANGLELOG.md +3 -0
- data/_data/amp_components.yaml +2 -0
- data/_includes/amp-story/body.html +0 -0
- data/_includes/{footer.html → foot.html} +0 -0
- data/_includes/head.html +2 -1
- data/_includes/head/amp-components.html +13 -0
- data/_includes/head/amp-custom.html +3 -1
- data/_includes/head/google-fonts.html +6 -0
- data/_layouts/amp-base.html +18 -0
- data/_layouts/default.html +2 -11
- data/{_headers → assets/_headers} +1 -0
- data/{feed.xml → assets/feed.xml} +1 -0
- data/{google-news.xml → assets/google-news.xml} +1 -0
- data/{humans.txt → assets/humans.txt} +1 -0
- data/{manifest.json → assets/manifest.json} +2 -1
- data/{robots.txt → assets/robots.txt} +1 -0
- data/{sitemap-pages.xml → assets/sitemap-pages.xml} +1 -0
- data/{sitemap-posts.xml → assets/sitemap-posts.xml} +1 -0
- data/{sitemap.xml → assets/sitemap.xml} +1 -0
- data/{sw.html → assets/sw.html} +1 -0
- data/{sw.js → assets/sw.js} +1 -0
- data/deploy.sh +1 -0
- metadata +18 -16
- data/_layouts/page.html +0 -5
- data/_layouts/post.html +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b132f7984c3ab6fe35b0d2e0726ba0b096c827fd91d60b4287ba1600198077b4
|
4
|
+
data.tar.gz: a36e10dbcbbfe72ee06be370aeda19da1fc3903009afc62b8bc86f062fd2ce36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c2e96321419707d6361b531b45f0dbfeaf05065ef5a3e33e05be717be2ee8d9df53a5970f760071511dfc2a59d8e874fc7e59178ad784eb3ac8b3d54cf56a37
|
7
|
+
data.tar.gz: 13062f635e985e4cae78e4bd8ed0f119ff8c9c48182dd4ed5abbe8c7ef2560dd74a48d1643ca44b44bd4e93d3150b4517bc7980dfc25fc0fa028858a6146c824
|
data/404.md
CHANGED
data/CHANGLELOG.md
CHANGED
data/_data/amp_components.yaml
CHANGED
File without changes
|
File without changes
|
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>
|
@@ -16,6 +16,19 @@
|
|
16
16
|
|
17
17
|
{% endif %}
|
18
18
|
|
19
|
+
{% if page.amp_type == "story" %}
|
20
|
+
|
21
|
+
{% if component_keys contains "amp-story" %}{% else %}
|
22
|
+
|
23
|
+
{% assign story_comp = site.data.amp_components | where: "name", "amp-story" %}
|
24
|
+
{% assign components = components | concat: story_comp %}
|
25
|
+
{% assign comp_name = "amp-story" | split: "" %}
|
26
|
+
{% assign component_keys = component_keys | concat: comp_name %}
|
27
|
+
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% endif %}
|
31
|
+
|
19
32
|
{% if site.google_analytics or site.facebook_analytics %}
|
20
33
|
{% if component_keys contains "amp-analytics" %}{% else %}
|
21
34
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<!doctype html>
|
6
|
+
<html ⚡>
|
7
|
+
{% include head.html %}
|
8
|
+
|
9
|
+
<body>
|
10
|
+
{% if page.amp_type =="story" %}
|
11
|
+
{% include amp-story/body.html %}
|
12
|
+
{% else %}
|
13
|
+
{{ content }}
|
14
|
+
{% endif %}
|
15
|
+
{% include foot.html %}
|
16
|
+
</body>
|
17
|
+
|
18
|
+
</html>
|
data/_layouts/default.html
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: none
|
3
|
+
permalink: "manifest.json"
|
3
4
|
---
|
4
5
|
|
5
6
|
{
|
@@ -9,7 +10,7 @@ layout: none
|
|
9
10
|
"display": "standalone",
|
10
11
|
"theme_color": "{{ site.color }}",
|
11
12
|
"background_color": "{{ site.background_color }}",
|
12
|
-
"lang": "{{ site.lang | default: "
|
13
|
+
"lang": "{{ site.lang | default: "de-DE" }}",
|
13
14
|
"scope": "{{ site.baseurl }}",
|
14
15
|
"orientation": "portrait-primary",
|
15
16
|
"description": "{{ site.description }}",
|
data/{sw.html → assets/sw.html}
RENAMED
data/{sw.js → assets/sw.js}
RENAMED
data/deploy.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gem build amp_base_theme && sudo gem install amp_base_theme-0.0.10.gem && gem contents amp_base_theme --version "=0.0.10" && gem push amp_base_theme-0.0.10.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.10
|
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-
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -51,32 +51,34 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- _data/amp_components.yaml
|
53
53
|
- _data/pwa_ignore.yaml
|
54
|
-
-
|
54
|
+
- _includes/amp-story/body.html
|
55
55
|
- _includes/analytics/cookie-consent.html
|
56
56
|
- _includes/analytics/facebook-analytics.html
|
57
57
|
- _includes/analytics/google-analytics.html
|
58
|
-
- _includes/
|
58
|
+
- _includes/foot.html
|
59
59
|
- _includes/head.html
|
60
60
|
- _includes/head/amp-boilerplate.html
|
61
61
|
- _includes/head/amp-components.html
|
62
62
|
- _includes/head/amp-custom.html
|
63
|
+
- _includes/head/google-fonts.html
|
63
64
|
- _includes/head/seo.html
|
64
65
|
- _includes/head/structured-data.html
|
65
66
|
- _includes/pwa/sw.html
|
67
|
+
- _layouts/amp-base.html
|
66
68
|
- _layouts/compress.html
|
67
69
|
- _layouts/default.html
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
- sitemap-
|
76
|
-
- sitemap
|
77
|
-
-
|
78
|
-
- sw.
|
79
|
-
-
|
70
|
+
- assets/_headers
|
71
|
+
- assets/feed.xml
|
72
|
+
- assets/google-news.xml
|
73
|
+
- assets/humans.txt
|
74
|
+
- assets/manifest.json
|
75
|
+
- assets/robots.txt
|
76
|
+
- assets/sitemap-pages.xml
|
77
|
+
- assets/sitemap-posts.xml
|
78
|
+
- assets/sitemap.xml
|
79
|
+
- assets/sw.html
|
80
|
+
- assets/sw.js
|
81
|
+
- deploy.sh
|
80
82
|
homepage: https://github.com/lukas-h/amp_base_theme
|
81
83
|
licenses:
|
82
84
|
- MIT
|
data/_layouts/page.html
DELETED