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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ac63819c7bc727bb89a91c710a105cdf7d3e85b1a28d9336baaba4cd7902dd4
4
- data.tar.gz: 1fb71272b3abab8fdae4f0e916a02dfa0dd9c54043ab334ac73dab40d0de6403
3
+ metadata.gz: 9fec3e8c7834e299d62e31b3d63f6dc57ab5f1d423e7297b77e3865e634b242e
4
+ data.tar.gz: 51703cfa858d50582184d3626662b13212f0afe78da91557ec234617a9595ed9
5
5
  SHA512:
6
- metadata.gz: 478ab6f87bffa95780a14b585e2764a0e8c52b76a141f45066d476f24adf1d4507683e68aad37c787b1bfccc75b7adaab19ee6271a6bf4dd5f2a999b160c3980
7
- data.tar.gz: ca193ff8883c61120fa6bdbfd8a8e9c89eec13dca446ed1aa0bb17de645df5f3ffe290a8d93f18b760f5b59549740b2f89fa1a877eea052604938732cfa45056
6
+ metadata.gz: 3cc69d029f42c3589541480b76f799dea2279183509c693f830e63df755457515393db7fd893f9b56e1f69a873ddd43660ed18b5cf6e3709ffba057f03a74ee4
7
+ data.tar.gz: 1aaf001f9d9f2c41408f0cb84a079f4eb98a383195297ac6c07e70d59b9371158b00aba633d9a5c26dcef4356707249b9def1f980e93f77151a40e984e8e2259
data/404.md CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- layout: page
2
+ layout: default
3
3
  title: 404 – File not found
4
4
  ---
@@ -0,0 +1,3 @@
1
+ ### 0.0.5
2
+
3
+ generation of sitemaps, feed and pwa works
@@ -1,3 +1,5 @@
1
+ - name: amp-story
2
+ version: 1.0
1
3
  - name: amp-3d-gltf
2
4
  - name: amp-3q-player
3
5
  - name: amp-access-laterpay
File without changes
File without changes
@@ -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
 
@@ -1,3 +1,5 @@
1
- <style amp-custom>
2
1
 
2
+
3
+ <style amp-custom>
4
+
3
5
  </style>
@@ -0,0 +1,6 @@
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">
5
+
6
+ {% endif %}
@@ -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>
@@ -1,14 +1,5 @@
1
1
  ---
2
- layout: compress
2
+ layout: amp-base
3
3
  ---
4
4
 
5
- <!doctype html>
6
- <html ⚡>
7
- {% include head.html %}
8
-
9
- <body>
10
- {{ content }}
11
- {% include footer.html %}
12
- </body>
13
-
14
- </html>
5
+ {{ content }}
@@ -66,5 +66,4 @@ permalink: "manifest.json"
66
66
  "platform": "Web"
67
67
  }
68
68
  ],
69
- }
70
69
  }
@@ -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.5
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-07-30 00:00:00.000000000 Z
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/footer.html
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
@@ -1,5 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
@@ -1,5 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}