blogamore/layouts/blog/single.html

25 lines
689 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>
2022-11-28 22:36:47 +01:00
<div class="blog-post-meta">{{ partial "meta/data.html" . }}</div>
2022-11-13 20:52:45 +01:00
<div class="content">
{{ .Content }}
</div>
2022-11-28 22:36:47 +01:00
<div class="blog-post-meta mt-5">{{ partial "meta/footer.html" . }}</div>
2022-11-13 20:52:45 +01:00
</div>
</div>
</article>
</section>
{{ end }}
{{ define "sidebar" }}
2022-11-28 19:45:15 +01:00
<aside class="position-sticky">
{{- partial "widget/header.html" (dict "title" "Inhaltsverzeichnis")}}
<div>
2022-11-13 20:52:45 +01:00
{{ .TableOfContents }}
</div>
</aside>
{{ end }}