amp_base_theme 0.0.8 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73272bdcd8ab3af0ecf98ee90205e16464cadf2c80f6d69584c06e279a739af2
4
- data.tar.gz: ddad2df50cce211bd1275897e7ae3f14eaf2680f2b645213d5ed0bf160e93404
3
+ metadata.gz: b132f7984c3ab6fe35b0d2e0726ba0b096c827fd91d60b4287ba1600198077b4
4
+ data.tar.gz: a36e10dbcbbfe72ee06be370aeda19da1fc3903009afc62b8bc86f062fd2ce36
5
5
  SHA512:
6
- metadata.gz: 3a6b4872ca20af82a900b76bfda40fda4dd4acf1c61e0ea0dc648d6557adf5e05c87b75e783ae101db7f6a813a5321b636645d7dc46db128b58d1fd89bff3154
7
- data.tar.gz: 486a13b6ac6772eb8d922c25c5185ac12c824ebdd6ade1f9675dae5cb8cda7f9e8de14389115f555d642ae09efb8a831f4e5621c13ea6d712a8b9d2b8c4700c0
6
+ metadata.gz: 3c2e96321419707d6361b531b45f0dbfeaf05065ef5a3e33e05be717be2ee8d9df53a5970f760071511dfc2a59d8e874fc7e59178ad784eb3ac8b3d54cf56a37
7
+ data.tar.gz: 13062f635e985e4cae78e4bd8ed0f119ff8c9c48182dd4ed5abbe8c7ef2560dd74a48d1643ca44b44bd4e93d3150b4517bc7980dfc25fc0fa028858a6146c824
@@ -1,4 +1,5 @@
1
1
  - name: amp-story
2
+ version: 1.0
2
3
  - name: amp-3d-gltf
3
4
  - name: amp-3q-player
4
5
  - name: amp-access-laterpay
@@ -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,7 +16,7 @@
16
16
 
17
17
  {% endif %}
18
18
 
19
- {% if layout.amp_type == "story" %}
19
+ {% if page.amp_type == "story" %}
20
20
 
21
21
  {% if component_keys contains "amp-story" %}{% else %}
22
22
 
@@ -1,9 +1,4 @@
1
- {% if site.google_fonts %}
2
1
 
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 %}
7
2
 
8
3
  <style amp-custom>
9
4
 
@@ -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 %}
@@ -7,7 +7,7 @@ layout: compress
7
7
  {% include head.html %}
8
8
 
9
9
  <body>
10
- {% if layout.amp_type =="story" %}
10
+ {% if page.amp_type =="story" %}
11
11
  {% include amp-story/body.html %}
12
12
  {% else %}
13
13
  {{ content }}
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  layout: amp-base
3
- amp_type: 'website'
4
3
  ---
5
4
 
6
5
  {{ content }}
data/deploy.sh CHANGED
@@ -1 +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
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amp_base_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Himsel
@@ -60,14 +60,13 @@ files:
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
66
67
  - _layouts/amp-base.html
67
68
  - _layouts/compress.html
68
69
  - _layouts/default.html
69
- - _layouts/story.html
70
- - _layouts/website.html
71
70
  - assets/_headers
72
71
  - assets/feed.xml
73
72
  - assets/google-news.xml
@@ -1,6 +0,0 @@
1
- ---
2
- layout: amp-base
3
- amp_type: 'story'
4
- ---
5
-
6
- {{ content }}
@@ -1,6 +0,0 @@
1
- ---
2
- layout: amp-base
3
- amp_type: 'website'
4
- ---
5
-
6
- {{ content }}