refactor terms index via Tons note
This commit is contained in:
parent
75f6dd1e80
commit
31433028bf
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
date: 2022-06-20T15:09:14+02:00
|
||||||
|
context: "https://www.zylstra.org/blog/2022/06/adding-an-index/"
|
||||||
|
---
|
||||||
|
|
||||||
|
A much clearer page compared to my archives page, thanks for sharing. I modified my own `/archives` to better reflect yours and Frank's layout. Not yet sure what the cut-off point should be, I'm not that big on tagging yet and my blog isn't as old as your, we'll see how it goes. I have removed one-offs now, and might retro-fit in more tags from older articles.
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,4 @@ I also write about retro PC/Handheld gaming and actual _bread baking_ on sister
|
||||||
|
|
||||||
The following tags are the most used in my writing: {{< popular-categories >}}.
|
The following tags are the most used in my writing: {{< popular-categories >}}.
|
||||||
|
|
||||||
Behold a list of alphabetically sorted tags used in every article on this very website. Related articles share a set of tags.
|
Behold a list of alphabetically sorted tags used in every article on this very website that appear more than once. Related articles share a set of tags. Happy clicking!
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ $.Scratch.Set "curLetter" "" }}
|
{{ $.Scratch.Set "curLetter" "" }}
|
||||||
|
{{ $offset := 1 }}
|
||||||
{{ partial "header" . }}
|
{{ partial "header" . }}
|
||||||
|
|
||||||
{{ partial "bigimg" . }}
|
{{ partial "bigimg" . }}
|
||||||
|
@ -38,9 +39,11 @@
|
||||||
<ul style="padding-left: 1em">
|
<ul style="padding-left: 1em">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if gt $cnt $offset }}
|
||||||
<li>
|
<li>
|
||||||
<a href={{ .RelPermalink }} title="All pages with tag {{$name}}">{{.Title}}</a> ({{$cnt}})
|
<a href={{ .RelPermalink }} title="All pages with tag {{$name}}">{{.Title}}</a> ({{$cnt}})
|
||||||
</li>
|
</li>
|
||||||
|
{{ end }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue