wizard

placeholder description
git clone git@git.shmage.xyz/wizard.git
Log | Files | Refs | README

commit 9fc024cee0e9546db657be9d246c90169b428eb5
parent 9bccf491f0d206f03889ba7d3f21e49b2d0fb459
Author: Ian <ian@shmage.xyz>
Date:   Sat,  4 Feb 2023 00:36:12 -0500

Changing date layout and making them more clear on the summary

Diffstat:
Mlayouts/_default/single.html | 2+-
Mlayouts/_default/summary.html | 2+-
Mlayouts/index.html | 1+
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -5,7 +5,7 @@ <div class="border_stone"> <div class="border"> <h1>{{ .Title }}</h1> - <h2><time datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format "02-01-2006" }}</time></h2> + <h2><time datetime="{{ .Date.Format "2006/01/02" }}">{{ .Date.Format "02/01/2006" }}</time></h2> <div> {{ .Content }} </div> diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html @@ -1,6 +1,6 @@ <article> <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> - <time datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format "02-01-2006" }}</time> + <strong><time datetime="{{ .Date.Format "2006/01/02" }}">{{ .Date.Format "02/01/2006" }}</time></strong> {{ range .Params.tags }} <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> {{ end }} diff --git a/layouts/index.html b/layouts/index.html @@ -11,6 +11,7 @@ {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} + <p/> {{ partial "pagination.html" . }} </div> </div>