From 3fec168d546b7f8abf1bd92b188b94e19df06452 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 10 Oct 2021 08:28:12 -0700 Subject: [PATCH] Removed unused tags Also ran file through prettier for the first time --- .../layouts/partials/metadata.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/themes/alejandro-angulo/layouts/partials/metadata.html b/themes/alejandro-angulo/layouts/partials/metadata.html index 501f336..ecb88b6 100644 --- a/themes/alejandro-angulo/layouts/partials/metadata.html +++ b/themes/alejandro-angulo/layouts/partials/metadata.html @@ -1,11 +1,17 @@
- {{ $dateTime := .PublishDate.Format "2006-01-02" }} - {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} - + {{ $dateTime := .PublishDate.Format "2006-01-02" }} + {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} + {{ with .Params.tags }} {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} - #{{ . }} + {{ $href := print (absURL "tags/") (urlize .) }} + #{{ . }} {{ end }} -
+ {{ end }} + + + +