diff options
Diffstat (limited to 'themes/default/layouts/partials/function-paths.html')
-rw-r--r-- | themes/default/layouts/partials/function-paths.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/themes/default/layouts/partials/function-paths.html b/themes/default/layouts/partials/function-paths.html index bc36171..5f5a516 100644 --- a/themes/default/layouts/partials/function-paths.html +++ b/themes/default/layouts/partials/function-paths.html @@ -1,7 +1,7 @@ -{{- $path := . -}} - -{{- if eq $path "markdown" -}} {{- $path = "data/generates/content" -}} {{- end -}} -{{- if eq $path "media" -}} {{- $path = "data/media" -}} {{- end -}} -{{- if eq $path "static" -}} {{- $path = "static" -}} {{- end -}} - -{{- return $path -}} +{{- + return (dict + "markdown" "data/generates/content" + "media" "data/media" + "static" "static" + ) +-}} |