<head>内を少しキレイにする

gh-pages
Rui 2018-03-22 15:12:32 +09:00 committed by GitHub
parent 4b554aabda
commit 0c52d2cced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 8 deletions

View File

@ -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>