paprika/theme/default/post.hbs

25 lines
888 B
Handlebars

<html lang="{{ blog.lang }}">
<head>
<meta charset="UTF-8">
<title>{{ title }} - {{ blog.title }}</title>
<link rel="stylesheet" href="/static/style.css?ver={{ build_num }}"/>
</head>
<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 }}}
</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>
<script src="/static/script.js?ver={{ build_num }}"></script>
</body>
</html>