amp_base_theme 0.0.5 → 0.0.6
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 +1 -0
- data/_includes/amp-story/body.html +0 -0
- data/_includes/{footer.html → foot.html} +0 -0
- data/_includes/head/amp-components.html +13 -0
- data/_includes/head/amp-custom.html +8 -1
- data/_layouts/amp-base.html +18 -0
- data/_layouts/default.html +3 -11
- data/_layouts/story.html +4 -0
- data/_layouts/website.html +6 -0
- metadata +7 -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: cc001805b5bb18e645aff10343360543e4a58e4b927058780e5387fa2853213d
|
|
4
|
+
data.tar.gz: 9fb5566b8441d53c4b1ca3c8b1cf33223bd896b11d82dd2dd9c076a72763f233
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 664798a70a22ceedcfdf3cbdd42c3fc701bc5c54875d85df87251358209b6caee4260de8d54dfeb34a6b5d996bc261e67841c2d7842c16070b7bae329eebd3e2
|
|
7
|
+
data.tar.gz: e3c6a7e9e9770bb8eeaea3c36d26cf254add1bc924b0f9a29057afa4bdc3e0c7ea6d46da57f3ea1ab82ed279a9a78261e5d0d307b8e0736bf8f1484b03de4853
|
data/404.md
CHANGED
data/CHANGLELOG.md
CHANGED
data/_data/amp_components.yaml
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -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
|
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
{% if site.google_fonts %}
|
|
2
|
+
|
|
3
|
+
{% assign family_param = site.google_fonts | join: "|"" | replace: " ", "+" %}
|
|
4
|
+
<link href="https://fonts.googleapis.com/css?family={{ family_param }}" rel="stylesheet">
|
|
2
5
|
|
|
6
|
+
{% endif %}
|
|
7
|
+
|
|
8
|
+
<style amp-custom>
|
|
9
|
+
|
|
3
10
|
</style>
|
|
@@ -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/_layouts/story.html
ADDED
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.6
|
|
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,10 +51,11 @@ files:
|
|
|
51
51
|
- README.md
|
|
52
52
|
- _data/amp_components.yaml
|
|
53
53
|
- _data/pwa_ignore.yaml
|
|
54
|
+
- _includes/amp-story/body.html
|
|
54
55
|
- _includes/analytics/cookie-consent.html
|
|
55
56
|
- _includes/analytics/facebook-analytics.html
|
|
56
57
|
- _includes/analytics/google-analytics.html
|
|
57
|
-
- _includes/
|
|
58
|
+
- _includes/foot.html
|
|
58
59
|
- _includes/head.html
|
|
59
60
|
- _includes/head/amp-boilerplate.html
|
|
60
61
|
- _includes/head/amp-components.html
|
|
@@ -62,10 +63,11 @@ files:
|
|
|
62
63
|
- _includes/head/seo.html
|
|
63
64
|
- _includes/head/structured-data.html
|
|
64
65
|
- _includes/pwa/sw.html
|
|
66
|
+
- _layouts/amp-base.html
|
|
65
67
|
- _layouts/compress.html
|
|
66
68
|
- _layouts/default.html
|
|
67
|
-
- _layouts/
|
|
68
|
-
- _layouts/
|
|
69
|
+
- _layouts/story.html
|
|
70
|
+
- _layouts/website.html
|
|
69
71
|
- assets/_headers
|
|
70
72
|
- assets/feed.xml
|
|
71
73
|
- assets/google-news.xml
|
data/_layouts/page.html
DELETED