hugo-theme-paradox/layouts/_default/single.html

39 lines
1 KiB
HTML
Raw Permalink Normal View History

2022-10-11 09:54:07 +00:00
{{ define "main" }}
<main>
2022-10-16 22:15:34 +00:00
<article class="page" {{- if .Param "autonumbering" }} autonumbering {{- end }}>
2022-10-11 09:54:07 +00:00
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
2022-10-16 22:15:34 +00:00
<p class="page-summary">{{.Page.Summary | plainify}}</p>
2022-10-14 08:36:35 +00:00
2022-12-18 14:10:54 +00:00
<p class="lastmod">Last modified <datetime class="date">{{ .Lastmod.Format "Mon Jan 2, 2006" }}</datetime>
{{ partial "edit-link.html" . }}
</p>
2022-10-16 22:15:34 +00:00
2022-10-11 09:54:07 +00:00
{{ partial "i18nlist.html" . }}
</div>
</header>
<aside class="toc section">
<div class="container">
2022-12-19 15:10:26 +00:00
{{ partial "breadcrumbs.html" . }}
<details open>
<summary class="toc-title">Page outline</summary>
{{ .TableOfContents }}
</details>
2022-10-11 09:54:07 +00:00
</div>
</aside>
<section class="content section">
<div class="container">
{{ .Content }}
</div>
</section>
2022-10-16 22:15:34 +00:00
{{ partial "nav-section.html" . }}
<footer class="section page-footer">
<div class="container">
{{ partial "page-footer.html" . }}
</div>
</footer>
2022-10-11 09:54:07 +00:00
</article>
</main>
{{ end }}