trwnh.com/unified.test.hugo/layouts/_default/list.html

34 lines
1.2 KiB
HTML
Raw Normal View History

2024-10-05 06:27:07 +00:00
{{ define "body" }}
2024-10-05 19:56:14 +00:00
<body class="layout-_default-list">
2024-10-05 06:27:07 +00:00
<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 }}