This commit is contained in:
Luke Smith 2022-05-26 20:46:49 -04:00
parent e492c397c3
commit 732534b367
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
4 changed files with 18 additions and 4 deletions

View File

@ -2,8 +2,11 @@
<header><h1>{{ .Title }}</h1></header>
<article>
{{ .Content }}
<ul>
{{ range.Pages }}
<li>
@ -12,5 +15,8 @@
</li>
{{ end }}
</ul>
</article>
{{ partial "footer.html" . }}

View File

@ -2,6 +2,10 @@
<header><h1>{{ .Title }}</h1></header>
<article>
{{ .Content }}
</article>
{{ partial "footer.html" . }}

View File

@ -1,10 +1,14 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title | title }}</h1></header>
<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
<article>
{{ .Content }}
<ul class=tagartlist>
{{ range.Pages }}<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}</ul>
</article>
{{ partial "footer.html" . }}

View File

@ -1,3 +1,3 @@
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <div id="tagcloud">
{{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a>
{{ end }}</div>{{ end }}{{ end }}
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <ul id="tagcloud">
{{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
{{ end }}</ul>{{ end }}{{ end }}