jekyll-gitbook/_layouts/post.html

53 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html lang="en" >
<head>
{%- include head.html -%}
{% if page.previous %}
<link rel="prev" href="{{page.previous.url}}" />
{% else %}
<link rel="prev" href="{{site.url}}" />
{% endif %}
{% if page.next %}
<link rel="next" href="{{page.next.url}}" />
{% endif %}
</head>
<body>
<div class="book">
{%- include toc-date.html -%}
<div class="book-body">
{%- include body.html -%}
{% if page.previous %}
<a href="{{page.previous.url}}" class="navigation navigation-prev navigation-unique" aria-label="Previous page: {{page.previous.title}}">
<i class="fa fa-angle-left"></i>
</a>
{% else %}
<a href="{{site.url}}" class="navigation navigation-prev navigation-unique" aria-label="Previous page: {{site.title}}">
<i class="fa fa-angle-left"></i>
</a>
{% endif %}
{% if page.next %}
<a href="{{page.next.url}}" class="navigation navigation-next navigation-unique" aria-label="Next page: {{page.next.title}}">
<i class="fa fa-angle-right"></i>
</a>
{% endif %}
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({%- include metadata-post.json.tpl -%});
});
</script>
</div>
{%- include footer.html -%}
</body>
</html>