From 903cfa04432002f855035fbf793be71bac370b9f Mon Sep 17 00:00:00 2001 From: Caspar Krieger Date: Wed, 20 Mar 2019 06:33:46 -0700 Subject: [PATCH] Fix empty hrefs in 404 page (#162) * Fix empty hrefs in 404 page * Added self to contributors list per PR template --- CONTRIBUTORS.md | 1 + layouts/_default/baseof.html | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 662c749..4cf4bf8 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -33,3 +33,4 @@ - [Jeffrey Carpenter](https://uvolabs.me) - [Paul Lettington](https://github.com/plett) - [Thomas Vochten](https://github.com/thomasvochten) +- [Caspar Krieger](https://www.asparck.com) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9184fe8..d20ef16 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,10 +12,14 @@ {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/opengraph.html" . }} - + {{ if .Permalink }} + + {{ end }} {{ block "title" . }}{{ .Site.Title }}{{ end }} - + {{ if .Permalink }} + + {{ end }}