website

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

commit 96b43e970c2087c97fc5dd615a2b176637332917
parent ab741130d939429da29d28380d9c89e7c474d501
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Sun, 11 Dec 2022 17:07:37 +0200

Add overrides for date

Diffstat:
Alayouts/404.html | 11+++++++++++
Mlayouts/_default/single.html | 3+--
2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/layouts/404.html b/layouts/404.html @@ -0,0 +1,11 @@ +{{ partial "header.html" . }} + +<h1 align="center"> + 404 +</h1> + +<h3 align="center"> + You once were found. But now you're lost. +</h3> + +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -2,7 +2,7 @@ <div class="article-meta"> <h1><span class="title">{{ .Title | markdownify }}</span></h1> {{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }} -{{ if .Params.date }}<h2 class="date">{{ .Date.Format "02 Jan 2006" }}</h2>{{ end }} +{{ if .Params.date }}<h2 id= "date" class="date">{{ .Date.Format "02 Jan 2006" }}</h2>{{ end }} <p class="terms"> {{ range $i := (slice "categories" "tags") }} {{ with ($.Param $i) }} @@ -18,7 +18,6 @@ <div class="content-wrapper"> <main> {{ .Content }} - <a href="/"> >> Home</a> </main> </div> {{ partial "footer.html" . }}