yequari.com/layouts/notes/list.html

24 lines
716 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
2024-09-20 01:27:07 +00:00
<section class="content posts h-feed hfeed">
<ul>
<li class="note-item"><h2>Title</h2><h2>Tags</h2></li>
{{ range (where .Site.RegularPages.ByTitle "Section" "notes") }}
<li class="note-item">
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{ $taxonomy := "tags" }}
{{ with .GetTerms $taxonomy }}
<span>
{{ range $k, $_ := . -}}
{{ if $k }}, {{ end }}
<a class="tag" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{- end }}
{{ end }}
</span>
</li>
{{ end }}
2024-09-20 01:27:07 +00:00
</ul>
</section>
{{ end }}