default.html: 微修正

gh-pages
Rui 2018-03-01 00:26:11 +09:00
parent 1fc9a948dd
commit a5f88f54a7
1 changed files with 11 additions and 11 deletions

View File

@ -2,11 +2,11 @@
layout: compress layout: compress
--- ---
<!-- サイドメニューのMarkdownを読み込み、HTMLに変換 --> {% comment %}サイドメニューのMarkdownを読み込み、HTMLに変換{% endcomment %}
{% capture menu_markdown %}{% include menu.md %}{% endcapture %} {% capture menu_markdown %}{% include menu.md %}{% endcapture %}
{% assign menu = (menu_markdown | markdownify) %} {% assign menu = (menu_markdown | markdownify) %}
<!-- SCSSを読み込み、CSSに変換 --> {% comment %}SCSSを読み込み、CSSに変換{% endcomment %}
{% capture style_scss %}{% include style.scss %}{{ page.custom-style }}{% endcapture %} {% capture style_scss %}{% include style.scss %}{{ page.custom-style }}{% endcapture %}
{% assign style = (style_scss | scssify) %} {% assign style = (style_scss | scssify) %}
@ -31,11 +31,11 @@ layout: compress
</head> </head>
<body> <body>
<!-- コンテナ --> {% comment %}コンテナ{% endcomment %}
<div id="container"> <div id="container">
<!-- ヘッダ --> {% comment %}ヘッダ{% endcomment %}
<header> <header>
<!-- Wikiタイトル --> {% comment %}Wikiタイトル{% endcomment %}
<a href="{{ site.github.url }}"> <a href="{{ site.github.url }}">
<amp-img <amp-img
height = "2em" height = "2em"
@ -45,7 +45,7 @@ layout: compress
</amp-img> </amp-img>
{{ site.wiki.title }} {{ site.wiki.title }}
</a> </a>
<!-- モバイルメニュー表示ボタン --> {% comment %}モバイルメニュー表示ボタン{% endcomment %}
<button on="tap:sidebar.open"> <button on="tap:sidebar.open">
<amp-img <amp-img
height = "2em" height = "2em"
@ -56,13 +56,13 @@ layout: compress
</button> </button>
</header> </header>
<!-- 左メニュー --> {% comment %}左メニュー{% endcomment %}
<nav id="menu" class="article"> <nav id="menu" class="article">
<h1 class="title">メニュー</h1> <h1 class="title">メニュー</h1>
<div class="body">{{ menu }}</div> <div class="body">{{ menu }}</div>
</nav> </nav>
<!-- 本文 --> {% comment %}本文{% endcomment %}
<article id="content" class="article"> <article id="content" class="article">
<h1 class="title"> <h1 class="title">
{{ page.title }} {{ page.title }}
@ -80,13 +80,13 @@ layout: compress
<div class="body">{{ content }}</div> <div class="body">{{ content }}</div>
</article> </article>
<!-- フッタ --> {% comment %}フッタ{% endcomment %}
<footer> <footer>
© {{ site.time | date: "%Y" }} <a href="https://minetest-jp.github.io">Minetest-JP Team</a> © {{ site.time | date: "%Y" }} <a href="https://minetest-jp.github.io">Minetest-JP Team</a>
</footer> </footer>
</div> </div>
<!-- モバイルメニュー --> {% comment %}モバイルメニュー{% endcomment %}
<amp-sidebar id="sidebar" side="left" layout="nodisplay"> <amp-sidebar id="sidebar" side="left" layout="nodisplay">
<button on="tap:sidebar.close"> <button on="tap:sidebar.close">
<amp-img <amp-img
@ -99,7 +99,7 @@ layout: compress
{{ menu }} {{ menu }}
</amp-sidebar> </amp-sidebar>
<!-- コンテナの先頭にリンク --> {% comment %}コンテナの先頭にリンク{% endcomment %}
<a href="#container"> <a href="#container">
<amp-img <amp-img
class = "top-button" class = "top-button"