trwnh.com/blog.hugo/layouts/_default/single.html

25 lines
888 B
HTML
Raw Normal View History

{{ define "main" }}
<main class="_default-single">
<article class="page h-entry hentry" {{- if .Param "autonumbering" }} autonumbering {{- end }}>
<header class="section page-header">
<div class="container">
<h1 class="page-title p-name entry-title">{{ .Title | safeHTML }}</h1>
<p class="page-summary p-summary entry-summary">{{.Summary | safeHTML}}</p>
<p class="page-date">
<time class="dt-published published" datetime='{{.Date.UTC.Format "2006-01-02T15:04:05Z0700"}}'>{{ .Date.Format "Mon Jan 2, 2006" }}</datetime>
</p>
<div class="page-author h-card vcard">
<a href="https://trwnh.com" class="u-url p-name p-nickname url fn nickname">a</a>
</div>
</div>
<hr>
</header>
<section class="page-content section">
<div class="container e-content entry-content">
{{ .Content }}
</div>
</section>
</article>
</main>
{{ end }}