mirror of
https://github.com/seigler/dashdev-website
synced 2025-07-26 22:36:09 +00:00
60 lines
883 B
Handlebars
60 lines
883 B
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{{> meta }}
|
|
</head>
|
|
<body>
|
|
|
|
{{> header }}
|
|
|
|
<main{{#if navsub}} class="subpages"{{/if}}>
|
|
|
|
<div class="content">
|
|
|
|
<article>
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
{{#if isPage}}
|
|
{{else}}
|
|
|
|
<p class="articleinfo">Published {{ dateFormat }}, {{ wordCount }} words, {{ readingTime }}-minute read</p>
|
|
|
|
{{/if}}
|
|
|
|
{{{ contents }}}
|
|
|
|
{{#if isPage}}
|
|
|
|
{{> pagelist }}
|
|
|
|
{{else}}
|
|
|
|
<nav class="nav page">
|
|
<ul>
|
|
|
|
{{#if previous.title }}
|
|
<li><a href="{{ root }}{{ previous.path }}/" class="back">« back: {{ previous.title }}</a></li></p>
|
|
{{/if}}
|
|
|
|
{{#if next.title }}
|
|
<li><a href="{{ root }}{{ next.path }}/" class="next">next: {{ next.title }} »</a></li></p>
|
|
{{/if}}
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
{{/if}}
|
|
|
|
</article>
|
|
|
|
{{> navsub }}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{> footer template='article' }}
|
|
|
|
</body>
|
|
</html>
|