aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-04-08 05:32:29 -0400
committerThedro Neely <thedroneely@gmail.com>2022-04-08 05:32:29 -0400
commitabdf83d9f741b609d93dde0099d94bd2858ce4d5 (patch)
tree093020ad560bfb95ad28694d42d5059ab320b961
parentfdf7460775f68ab8419b1ee17e2adb99d6a48bb9 (diff)
downloadthedroneely.com-abdf83d9f741b609d93dde0099d94bd2858ce4d5.tar.gz
thedroneely.com-abdf83d9f741b609d93dde0099d94bd2858ce4d5.tar.bz2
thedroneely.com-abdf83d9f741b609d93dde0099d94bd2858ce4d5.zip
generators/hugo/layouts/partials/page-tags: Format
-rw-r--r--generators/hugo/themes/tdro/layouts/partials/page-tags.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/page-tags.html b/generators/hugo/themes/tdro/layouts/partials/page-tags.html
index 91ad0a4..1f99a3b 100644
--- a/generators/hugo/themes/tdro/layouts/partials/page-tags.html
+++ b/generators/hugo/themes/tdro/layouts/partials/page-tags.html
@@ -1,2 +1,8 @@
-{{- range $i, $value := sort . }}{{ if $i }} {{ end }}
-&middot; <a class="has-text-grey-dark" href="{{ "tags/" | relURL }}{{ $value | urlize }}/">{{ $value }}</a>{{ end }}
+{{- range $tags, $tag := sort . }}
+ &middot;
+ <a
+ class="has-text-grey-dark"
+ href="{{ "tags/" | relURL }}{{ $tag | urlize }}/">
+ {{ $tag }}
+ </a>
+{{ end }}