blogamore/layouts/blog/single.html

26 lines
709 B
HTML
Raw Normal View History

2022-11-13 20:52:45 +01:00
{{ define "main" }}
<section class="section">
<article>
<div class="columns is-centered">
<div class="column">
<h1 class="title is-1">{{ .Title }}</h1>
<div class="blog-post-meta">{{ partial "metadata.html" . }}</div>
<div class="content">
{{ .Content }}
</div>
<div class="blog-post-meta mt-5">{{ partial "metafooter.html" . }}</div>
</div>
</div>
</article>
</section>
{{ end }}
{{ define "sidebar" }}
<aside class="position-sticky" style="top: 0.5rem;">
{{- partial "widget/header.html" (dict "title" "Inhaltsverzeichnis")}}
<div>
2022-11-13 20:52:45 +01:00
{{ .TableOfContents }}
</div>
</aside>
{{ end }}