website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit dbb152a00059d56f5ba27f55dda8f996a5d84355
parent ff7ad459f9d55be439c4ae74697f9812c8bdab3b
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Mon, 12 Dec 2022 00:39:43 +0200

Update list.html

Diffstat:
Mlayouts/_default/list.html | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -8,17 +8,17 @@ {{ .Content }} <ul> - {{ $pages := .Pages }} - {{ if .IsHome }}{{ $pages = first 10 .Site.RegularPages }}{{ end }} - {{ range (where $pages "Section" "!=" "") }} - <li> - <span class="date">{{ .Date.Format "2006 Jan 2" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> - </li> - {{ end }} - {{ if .IsHome }} - <a href="/posts/">See All</a> - {{ end }} + {{ $pages := .Pages }} + {{ if .IsHome }}{{ $pages = first 10 .Site.RegularPages }}{{ end }} + {{ range (where $pages "Section" "!=" "") }} + <li> + <span class="date">{{ .Date.Format "2006 Jan 2" }}</span> + <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> + </li> + {{ end }} </ul> + {{ if .IsHome }} + <a href="/posts/">See All</a> + {{ end }} </div> {{ partial "footer.html" . }}