trwnh.com/unified.test.hugo/layouts/_default/list.html
2024-10-05 01:27:07 -05:00

34 lines
No EOL
1.2 KiB
HTML

{{ define "body" }}
<body class="_default _default-list">
<main class="h-feed hfeed">
<header class="list-header section">
<div class="container">
<h1 class="list-title p-name">{{.Title}}</h1>
{{ with (index .Site.Data.people "trwnh.com").a }}
<p class="list-author p-author">{{ partial "mf2/h-card.html" . }}</p>
{{ end }}
<p class="list-summary p-summary">{{ .Summary }}</p>
<div class="list-content e-content hugo-content">
{{ .Content }}
</div>
<p class="list-permalink">h-feed URL: <a href="{{.Permalink}}" rel="self" class="u-url">{{.Permalink}}</a></p>
</div>
<hr>
</header>
<section class="list-pages section">
<div class="container">
{{ range .RegularPages }}
<article class="list-page h-entry hentry">
<p>
<span><time class="dt-published published" datetime="{{.Date.Format "2006-01-02T15:04:05-0600"}}">{{.Date.Format "2006-01-02"}}</time>: <a class="p-name entry-title" href="{{.Permalink}}">{{.Title}}</a></span><br>
{{ if isset .Params "summary" }}
<span class="p-summary entry-summary">{{.Summary}}</span>
{{ end }}
</p>
</article>
{{ end }}
</div>
</section>
</main>
</body>
{{ end }}