From 90dd140842f3f05daf55499eb5c8b16e84809fa2 Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Mon, 13 Jan 2020 11:43:32 -0500 Subject: [PATCH] Make category hyphenated and title case in li hashtags --- layouts/_default/li.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 69716ed..6c65511 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -17,7 +17,7 @@

{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}

Posted

- {{ if (isset .Params "categories") }}

{{ range .Params.categories }}#{{ . }} {{ end }}

{{ end }} + {{ if (isset .Params "categories") }}

{{ range .Params.categories }}#{{ . | urlize | title }} {{ end }}

{{ end }}
\ No newline at end of file