<head>内を少しキレイにする
parent
4b554aabda
commit
0c52d2cced
|
@ -10,21 +10,38 @@ layout: compress
|
|||
{% capture style_scss %}{% include style.scss %}{{ page.custom-style }}{% endcapture %}
|
||||
{% assign style = (style_scss | scssify) %}
|
||||
|
||||
{% comment %}アイコンのURL{% endcomment %}
|
||||
{% assign icon_url = ({{ site.github.url }} | append: "/images/icon.png") %}
|
||||
|
||||
{% capture 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}}
|
||||
{% endcapture %}
|
||||
|
||||
{% capture amp-boilerplate-noscript %}
|
||||
body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}
|
||||
{% endcapture %}
|
||||
|
||||
<!doctype html>
|
||||
<html amp lang="ja">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ page.title }} - {{ site.wiki.title }}</title>
|
||||
<link rel="alternate" hreflang="ja" href="{{ page.url }}">
|
||||
<link rel="canonical" href="{{ site.github.url }}{{ page.url }}">
|
||||
<link rel="icon" href="{{ site.github.url }}/images/icon.png">
|
||||
<meta name="google-site-verification" content="SzmyhmFa1r6eafWLqLct1hOKj-Awxn0JH8r0U4PUCyc">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
||||
<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></noscript>
|
||||
<style amp-custom>{{ style }}</style>
|
||||
<meta name="google-site-verification" content="SzmyhmFa1r6eafWLqLct1hOKj-Awxn0JH8r0U4PUCyc">
|
||||
|
||||
<title>{{ page.title }} - {{ site.wiki.title }}</title>
|
||||
<link rel="shortcut icon" href="{{ icon_url }}">
|
||||
<link rel="apple-touch-icon" href="{{ icon_url }}">
|
||||
<link rel="canonical" href="{{ site.github.url }}{{ page.url }}">
|
||||
|
||||
<script async src="https://cdn.ampproject.org/v0.js"></script>
|
||||
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
|
||||
|
||||
<style amp-custom>{{ style }}</style>
|
||||
<style amp-boilerplate>{{ amp-boilerplate }}</style>
|
||||
<noscript>
|
||||
<style amp-boilerplate>{{ amp-boilerplate-noscript }}</style>
|
||||
</noscript>
|
||||
|
||||
{{ page.custom-head }}
|
||||
</head>
|
||||
|
||||
|
|
Loading…
Reference in New Issue