amp_base_theme 0.0.3 → 0.0.8
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 +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 +6 -0
- data/_layouts/website.html +6 -0
- data/{meta → assets}/_headers +1 -0
- data/{meta → assets}/feed.xml +1 -1
- data/{meta → assets}/google-news.xml +1 -1
- data/{meta → assets}/humans.txt +1 -1
- data/{pwa → assets}/manifest.json +2 -2
- data/{meta → assets}/robots.txt +1 -1
- data/{meta → assets}/sitemap-pages.xml +1 -1
- data/{meta → assets}/sitemap-posts.xml +1 -1
- data/{meta → assets}/sitemap.xml +1 -1
- data/{pwa → assets}/sw.html +1 -1
- data/{pwa → assets}/sw.js +1 -1
- data/deploy.sh +1 -0
- metadata +20 -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: 73272bdcd8ab3af0ecf98ee90205e16464cadf2c80f6d69584c06e279a739af2
|
4
|
+
data.tar.gz: ddad2df50cce211bd1275897e7ae3f14eaf2680f2b645213d5ed0bf160e93404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a6b4872ca20af82a900b76bfda40fda4dd4acf1c61e0ea0dc648d6557adf5e05c87b75e783ae101db7f6a813a5321b636645d7dc46db128b58d1fd89bff3154
|
7
|
+
data.tar.gz: 486a13b6ac6772eb8d922c25c5185ac12c824ebdd6ade1f9675dae5cb8cda7f9e8de14389115f555d642ae09efb8a831f4e5621c13ea6d712a8b9d2b8c4700c0
|
data/404.md
CHANGED
data/CHANGLELOG.md
ADDED
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 layout.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 layout.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
data/{meta → assets}/_headers
RENAMED
data/{meta → assets}/feed.xml
RENAMED
data/{meta → assets}/humans.txt
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
|
-
permalink: "/manifest.json"
|
3
2
|
layout: none
|
3
|
+
permalink: "manifest.json"
|
4
4
|
---
|
5
5
|
|
6
6
|
{
|
@@ -10,7 +10,7 @@ layout: none
|
|
10
10
|
"display": "standalone",
|
11
11
|
"theme_color": "{{ site.color }}",
|
12
12
|
"background_color": "{{ site.background_color }}",
|
13
|
-
"lang": "{{ site.lang | default: "
|
13
|
+
"lang": "{{ site.lang | default: "de-DE" }}",
|
14
14
|
"scope": "{{ site.baseurl }}",
|
15
15
|
"orientation": "portrait-primary",
|
16
16
|
"description": "{{ site.description }}",
|
data/{meta → assets}/robots.txt
RENAMED
data/{meta → assets}/sitemap.xml
RENAMED
data/{pwa → assets}/sw.html
RENAMED
data/{pwa → 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.8.gem && gem contents amp_base_theme --version "=0.0.8" && gem push amp_base_theme-0.0.8.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.8
|
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
|
@@ -46,14 +46,16 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- 404.md
|
49
|
+
- CHANGLELOG.md
|
49
50
|
- LICENSE.txt
|
50
51
|
- README.md
|
51
52
|
- _data/amp_components.yaml
|
52
53
|
- _data/pwa_ignore.yaml
|
54
|
+
- _includes/amp-story/body.html
|
53
55
|
- _includes/analytics/cookie-consent.html
|
54
56
|
- _includes/analytics/facebook-analytics.html
|
55
57
|
- _includes/analytics/google-analytics.html
|
56
|
-
- _includes/
|
58
|
+
- _includes/foot.html
|
57
59
|
- _includes/head.html
|
58
60
|
- _includes/head/amp-boilerplate.html
|
59
61
|
- _includes/head/amp-components.html
|
@@ -61,21 +63,23 @@ files:
|
|
61
63
|
- _includes/head/seo.html
|
62
64
|
- _includes/head/structured-data.html
|
63
65
|
- _includes/pwa/sw.html
|
66
|
+
- _layouts/amp-base.html
|
64
67
|
- _layouts/compress.html
|
65
68
|
- _layouts/default.html
|
66
|
-
- _layouts/
|
67
|
-
- _layouts/
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
69
|
+
- _layouts/story.html
|
70
|
+
- _layouts/website.html
|
71
|
+
- assets/_headers
|
72
|
+
- assets/feed.xml
|
73
|
+
- assets/google-news.xml
|
74
|
+
- assets/humans.txt
|
75
|
+
- assets/manifest.json
|
76
|
+
- assets/robots.txt
|
77
|
+
- assets/sitemap-pages.xml
|
78
|
+
- assets/sitemap-posts.xml
|
79
|
+
- assets/sitemap.xml
|
80
|
+
- assets/sw.html
|
81
|
+
- assets/sw.js
|
82
|
+
- deploy.sh
|
79
83
|
homepage: https://github.com/lukas-h/amp_base_theme
|
80
84
|
licenses:
|
81
85
|
- MIT
|
data/_layouts/page.html
DELETED