brainbaking/themes/brainbaking-minimal/layouts/notes/single.html

58 lines
1.8 KiB
HTML

{{ partial "header" . }}
<main data-pagefind-body>
<header>
<a id="top"></a>
<h1 id="header" class="p-name">
Half-Baked Thought
</h1>
<h2>
{{ .Title | safeHTML }}
</h2>
<time datetime='{{ .Date.Format "2006-01-02T15:04:00" }}' class="dt-published">
<svg class='icon icon-text' width='24' height='24'>
<use xlink:href='#cal1'></use>
</svg>
<a class="u-url u-uid" href="{{ .RelPermalink }}">
{{ .Date.Format "2 January 2006, 15:04" }}
</a>
</time>
&nbsp;|&nbsp;
<span title="Categories">
<svg class='icon icon-text' width='24' height='24'>
<use xlink:href='#folder'></use>
</svg>
<a class="p-category" href="/notes">notes</a>
</span>
</header>
<article class="single {{ .Section }}">
{{ if (and (isset .Params "context") (not (eq .Params.context ""))) }}
<p>
<svg class='icon icon-text' width='24' height='24'>
<use xlink:href='#discuss'></use>
</svg>
In reply to: <a href="{{ .Params.context }}" class="u-in-reply-to">{{ .Params.context }}</a>{{ with .Params.rsvp }}&nbsp;(RSVP: <span class="p-rsvp">{{ . }}</span>){{ end }}<br/>
</p>
{{ end }}
<div class="e-content content toot">
{{ .Content | safeHTML }}
</div>
{{ if .Params.source }}
<p>
<svg class='icon icon-text' width='16' height='16'>
<use xlink:href='#discuss'></use>
</svg>
Also posted on: <a href="{{ .Params.source }}" rel="syndication" class="u-syndication">{{ .Params.source }}</a>.
</p>
{{ end }}
</article>
</main>
<div class="belowsingle">
<div class="txtblock">
{{ partial "single-related" . }}
{{ partial "single-comments" . }}
</div>
</div>
{{ partial "footer.html" . }}