fix wrong range in list

This commit is contained in:
kurets 2023-04-01 21:58:38 +03:00
parent 92cb97c6fe
commit 53979f7e8c
2 changed files with 4 additions and 1 deletions

View file

@ -22,6 +22,9 @@
<li><time datetime="2023-04-01T14:45:00&#43;03:00">2023 Apr 01</time> &ndash; <a href="/library/ted-kaczynski/ecofascism-an-aberrant-branch-of-leftism/">Ecofascism an Aberrant Branch of Leftism</a></li>
<li><time datetime="2023-04-01T14:37:31&#43;03:00">2023 Apr 01</time> &ndash; <a href="/library/ted-kaczynski/the-road-to-revolution/">The Road to Revolution</a></li>
<li><time datetime="2023-04-01T14:34:31&#43;03:00">2023 Apr 01</time> &ndash; <a href="/library/ted-kaczynski/the-truth-about-primitive-life-a-critique-of-anarchoprimitivism/">The Truth About Primitive Life a Critique of Anarchoprimitivism</a></li>
<li><time datetime="2023-04-01T14:32:25&#43;03:00">2023 Apr 01</time> &ndash; <a href="/library/ted-kaczynski/when-non-violence-is-suicide/">When Non-Violence Is Suicide</a></li>
<li><time datetime="2023-04-01T14:24:10&#43;03:00">2023 Apr 01</time> &ndash; <a href="/library/ted-kaczynski/why-the-technological-system-will-destroy-itself/">Why the Technological System Will Destroy Itself</a></li>
<li><time datetime="2023-03-23T18:06:34&#43;02:00">2023 Mar 23</time> &ndash; <a href="/library/ted-kaczynski/industrial-society-and-its-future/">Industrial Society and Its Future </a></li>
</ul>
<br><br>

View file

@ -4,7 +4,7 @@
{{ define "main" -}}
{{ .Content }}
<ul>
{{- range first 5 .Pages }}
{{- range .Pages }}
<li>
{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; {{ end -}}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>