diff options
author | asurbernardo <asur@asurbernardo.com> | 2020-07-18 20:35:59 +0300 |
---|---|---|
committer | asurbernardo <asur@asurbernardo.com> | 2020-07-18 20:35:59 +0300 |
commit | fc5d05b88556ebddc78a8cc850e77d08e039fdf0 (patch) | |
tree | 61cbfdf693e9da3977c6e65f656c76242de97fb1 | |
parent | 4da8a1548478928dfbc3d5184817da4c6d7ec49d (diff) |
Add missing AMP components
-rw-r--r-- | data/amp-modules.json | 4 | ||||
-rw-r--r-- | layouts/partials/head/base.html | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/data/amp-modules.json b/data/amp-modules.json index f621b54..faab362 100644 --- a/data/amp-modules.json +++ b/data/amp-modules.json @@ -51,5 +51,7 @@ "amp-vimeo" : "https://cdn.ampproject.org/v0/amp-vimeo-0.1.js", "amp-vine" : "https://cdn.ampproject.org/v0/amp-vine-0.1.js", "amp-viz-vega" : "https://cdn.ampproject.org/v0/amp-viz-vega-0.1.js", - "amp-youtube" : "https://cdn.ampproject.org/v0/amp-youtube-0.1.js" + "amp-youtube" : "https://cdn.ampproject.org/v0/amp-youtube-0.1.js", + "amp-autocomplete" : "https://cdn.ampproject.org/v0/amp-autocomplete-0.1.js", + "amp-mustache" : "https://cdn.ampproject.org/v0/amp-mustache-0.2.js" }
\ No newline at end of file diff --git a/layouts/partials/head/base.html b/layouts/partials/head/base.html index f04348f..a69ee31 100644 --- a/layouts/partials/head/base.html +++ b/layouts/partials/head/base.html @@ -17,10 +17,6 @@ {{- partial "head/pwa-metas.html" . -}} -<script async custom-element="amp-autocomplete" src="https://cdn.ampproject.org/v0/amp-autocomplete-0.1.js"></script> -<script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> -<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> - <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style> <noscript> <style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style> |