amp_base_theme 0.0.5 → 0.0.11
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/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/assets/manifest.json +0 -1
- data/deploy.sh +1 -0
- metadata +21 -5
- 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: 9fec3e8c7834e299d62e31b3d63f6dc57ab5f1d423e7297b77e3865e634b242e
|
4
|
+
data.tar.gz: 51703cfa858d50582184d3626662b13212f0afe78da91557ec234617a9595ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cc69d029f42c3589541480b76f799dea2279183509c693f830e63df755457515393db7fd893f9b56e1f69a873ddd43660ed18b5cf6e3709ffba057f03a74ee4
|
7
|
+
data.tar.gz: 1aaf001f9d9f2c41408f0cb84a079f4eb98a383195297ac6c07e70d59b9371158b00aba633d9a5c26dcef4356707249b9def1f980e93f77151a40e984e8e2259
|
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
data/assets/manifest.json
CHANGED
data/deploy.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gem build amp_base_theme && sudo gem install amp_base_theme-0.0.11.gem && gem contents amp_base_theme --version "=0.0.11" && gem push amp_base_theme-0.0.11.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.11
|
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-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
|
@@ -51,21 +65,22 @@ files:
|
|
51
65
|
- README.md
|
52
66
|
- _data/amp_components.yaml
|
53
67
|
- _data/pwa_ignore.yaml
|
68
|
+
- _includes/amp-story/body.html
|
54
69
|
- _includes/analytics/cookie-consent.html
|
55
70
|
- _includes/analytics/facebook-analytics.html
|
56
71
|
- _includes/analytics/google-analytics.html
|
57
|
-
- _includes/
|
72
|
+
- _includes/foot.html
|
58
73
|
- _includes/head.html
|
59
74
|
- _includes/head/amp-boilerplate.html
|
60
75
|
- _includes/head/amp-components.html
|
61
76
|
- _includes/head/amp-custom.html
|
77
|
+
- _includes/head/google-fonts.html
|
62
78
|
- _includes/head/seo.html
|
63
79
|
- _includes/head/structured-data.html
|
64
80
|
- _includes/pwa/sw.html
|
81
|
+
- _layouts/amp-base.html
|
65
82
|
- _layouts/compress.html
|
66
83
|
- _layouts/default.html
|
67
|
-
- _layouts/page.html
|
68
|
-
- _layouts/post.html
|
69
84
|
- assets/_headers
|
70
85
|
- assets/feed.xml
|
71
86
|
- assets/google-news.xml
|
@@ -77,6 +92,7 @@ files:
|
|
77
92
|
- assets/sitemap.xml
|
78
93
|
- assets/sw.html
|
79
94
|
- assets/sw.js
|
95
|
+
- deploy.sh
|
80
96
|
homepage: https://github.com/lukas-h/amp_base_theme
|
81
97
|
licenses:
|
82
98
|
- MIT
|
data/_layouts/page.html
DELETED