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

26 lines
832 B
HTML

{{ define "main" }}
<main>
<article class="page">
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
<p class="page-summary">{{.Page.Summary}}</p>
<p class="lastmod">Last modified <datetime class="date">{{ .Lastmod.Format "Mon Jan 2, 2006" }}</datetime><span class="edit-on-github"> - <a href="{{.Site.Params.repo}}/edit/{{.Site.Params.branch}}/content/{{.File.Lang}}/{{.File.Path}}">Edit this page on Github</a></span></p>
{{ partial "i18nlist.html" . }}
</div>
</header>
<aside class="toc section">
<div class="container">
<p class="toc-title">Page outline</p>
{{ .TableOfContents }}
</div>
</aside>
<section class="content section">
<div class="container">
{{ .Content }}
</div>
</section>
</article>
</main>
{{ end }}