24 lines
716 B
HTML
24 lines
716 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ .Content }}
|
|
<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 }}
|
|
</ul>
|
|
</section>
|
|
{{ end }}
|