a
2247ee2776
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already. Reviewed-on: #1
25 lines
No EOL
1 KiB
HTML
25 lines
No EOL
1 KiB
HTML
{{ define "main" }}
|
|
<main class="category h-feed">
|
|
<header class="section">
|
|
<div class="container">
|
|
<h1 class="p-name">Posts categorized under <span style="font-family: monospace">{{.Name}}</span></h1>
|
|
<p>h-feed URL: <a class="u-url u-uid" rel="self" href="{{ .Permalink }}">{{.Permalink}}</a></p>
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
<p>
|
|
<a href="{{ .Permalink}}" rel="{{ .Rel }}" type="{{ .MediaType.Type }}">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><title>vaadin:rss-square</title><path fill="currentColor" d="M0 0v16h16V0zm3.6 14c-.9 0-1.6-.7-1.6-1.6s.7-1.6 1.6-1.6s1.6.7 1.6 1.6S4.6 14 3.6 14m4 0c0-3.1-2.5-5.6-5.6-5.6V6c4.4 0 8 3.6 8 8zm4 0c0-5.3-4.3-9.6-9.6-9.6V2c6.6 0 12 5.4 12 12z"/></svg>
|
|
<span>RSS Feed</span>
|
|
</a>
|
|
</p>
|
|
{{ end }}
|
|
</div>
|
|
</header>
|
|
<section class="section entries">
|
|
<div class="container">
|
|
{{ range .Data.Pages }}
|
|
{{ partial "list/h-entry.summary.html" . }}
|
|
{{ end }}
|
|
</div>
|
|
</section>
|
|
</main>
|
|
{{ end }} |