diff --git a/layouts/index.html b/layouts/index.html index a142950..1ebf553 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,11 +6,7 @@ {{- range where site.RegularPages "Type" "in" site.Params.mainSections -}} - {{- partial "li.html" ( dict - "url" .Permalink - "title" .Title - "subTitle" (.Date | time.Format (":date_medium")) - ) -}} + {{- partial "li.html" ( dict "url" .Permalink "title" .Title "subTitle" (.Date | time.Format (":date_medium")) ) -}} {{- end -}} {{ end }} diff --git a/layouts/shortcodes/li.html b/layouts/shortcodes/li.html index 537713e..b54d510 100644 --- a/layouts/shortcodes/li.html +++ b/layouts/shortcodes/li.html @@ -1,5 +1 @@ -{{- partial "li.html" ( dict -"url" (.Get "href") -"title" (.Get "title") -"subTitle" (.Get "alt") -) -}} \ No newline at end of file +{{- partial "li.html" ( dict "url" (.Get "href") "title" (.Get "title") "subTitle" (.Get "alt") ) -}}