Templates for homepage and markdown posts.

Signed-off-by: HE, Tao <sighingnow@gmail.com>
This commit is contained in:
HE, Tao
2019-04-28 19:15:43 +08:00
parent e18e0cee7e
commit 4c29410efa
16 changed files with 479 additions and 0 deletions

33
_includes/body.html Normal file
View File

@@ -0,0 +1,33 @@
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
{% if page.title %}
<a href="." >{{ page.title | escape }}</a>
{% else %}
<a href="." >{{ site.title | escape }}</a>
{% endif %}
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
{% if page.title %}
<h1 id="{{ page.id }}">{{ page.title | escape }}</h1>
{% else %}
<h1 id="{{ page.id }}">{{ site.title | escape }}</h1>
{% endif %}
{{ content }}
</section>
</div>
<!-- {%- include search.html -%} -->
</div>
</div>
</div>
</div>