paprika/theme/default/post.hbs

28 lines
1.1 KiB
Handlebars

<html lang="{{ blog.lang }}">
{{> head.hbs}}
<body>
{{> loading.hbs }}
<div class="page-wrapper">
{{> sidebar.hbs }}
<article class="content">
<h1 id="paprika-post-title">{{ title }}</h1>
<span class="date">{{ format_date timestamp "%e %b, %Y" }}</span>
{{{ content }}}
{{ #unless theme_config.no_itte }}
{{ #if blog.theme_config.itte_url }}
<section id="itte-thread" data-path="{{ #unless theme_config.itte_page_path }}{{ page.base_url }}{{ page.pathname }}{{ else }}{{ theme_config.itte_page_path }}{{ /unless }}">
</section>
<script src="{{ blog.theme_config.itte_url }}/itte.js"></script>
{{ /if }}
{{ /unless }}
</article>
</div>
<div class="toc-wrapper hidden">
<div class="toc">
<!-- This will be generated dynamically by JavaScript -->
<!-- We don't handle this in backend -->
</div>
</div>
{{> foot.hbs }}
</body>
</html>