diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-12 18:35:59 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-12 18:35:59 -0700 |
| commit | f06f7ebccd7fd6fd96ca4dc403e91b804fa0a08d (patch) | |
| tree | 91d2772d34129564cf9ae4ca1a70afe8c6d9de45 /indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html | |
| parent | 83b01596a639a2ac9d8c847d33f666c70bf702a9 (diff) | |
move microblog to main blog
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html')
| -rw-r--r-- | indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html b/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html deleted file mode 100644 index e51e530..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html +++ /dev/null @@ -1,45 +0,0 @@ -{{ define "main" }} -{{ $pageTitle := .Title }} -<main> - <div> - <h1> - {{ .Title }} - <a href="{{ .Permalink }}index.xml"> - <img style="height:1.5rem; display: inline;" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-label='RSS' role='img' viewBox='0 0 512 512'%3E%3Cpath d='M0 0h512v512H0' fill='%23f80'/%3E%3Cpath d='M109 271A132 133 0 0 1 241 403h60A192 193 0 0 0 109 211v-54A246 247 0 0 1 355 403h60A306 307 0 0 0 109 97m35 235a35 35 0 1 0 2 0' fill='%23fff'/%3E%3C/svg%3E" alt="RSS icon" /> - </a> - </h1> - <div> - {{ .Content }} - </div> - {{- if eq .Kind "taxonomy" -}} - <ul> - {{ range .Pages.ByTitle }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} - </ul> - {{ end }} - {{- if eq .Kind "term" -}} - <p>Content linked to the taxonomy term « {{ strings.ToUpper .Title }} »:</p> - {{ $currentType := "" }} - {{ range sort .Pages.ByDate.Reverse ".Type" "desc" }} - {{ if or (eq $currentType "") (ne $currentType .Type) }} - {{ if ne $currentType "" }} - </ul> - </div> - {{ end }} - <div> - <h3>{{ strings.FirstUpper .Type }}</h3> - <ul> - {{ end }} - <li> - <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - </li> - {{ $currentType = .Type }} - {{ end }} - </ul> - </div> - {{- end -}} - </div> -</main> -{{ end }} |
