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

62 lines
2.1 KiB
HTML

{{ partial "header" . }}
<main class="h-entry">
<article class="single {{ .Section }}">
<a id="top"></a>
<header>
<h1 id="header" class="p-name">
Half-Baked Thought
</h1>
<h2>
{{ .Title | safeHTML }}
</h2>
<h3>
<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 u-url" href="/notes">notes</a>
</span>
{{ if (and (isset .Params "context") (not (eq .Params.context ""))) }}
&nbsp;|&nbsp;
<svg class='icon icon-text' width='24' height='24'>
<use xlink:href='#discuss'></use>
</svg>
<a href="{{ .Params.context }}" class="u-in-reply-to">In reply to</a>{{ with .Params.rsvp }}&nbsp;(RSVP: <span class="p-rsvp">{{ . }}</span>){{ end }}<br/>
{{ end }}
</h3>
</header>
<div class="e-content content toot">
{{ .Content | safeHTML }}
</div>
<hr/>
{{ if .Params.source }}
Also posted <svg class='icon icon-text' width='16' height='16'><use xlink:href='#discuss'></use></svg><a href="{{ .Params.source }}" rel="syndication" class="u-syndication">on Mastodon</a> by <a rel="author" href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>.
{{ end }}
</article>
<div class="belowsingle">
<div class="txtblock">
{{ partial "single-comments" . }}
{{ partial "single-webmentions" . }}
{{ partial "single-related" . }}
<footer>
</footer>
</div>
</div>
</main>
{{ partial "footer.html" . }}