aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/function-paths.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-03-14 15:11:23 -0400
committertdro <tdro@noreply.example.com>2023-03-14 15:11:23 -0400
commitef2611e3c2c07b42f4c8d32ad8cce7d5d634e822 (patch)
tree8a87daba0eb4a355f732ec7e5f3bf3e9bfe3ad7b /themes/default/layouts/partials/function-paths.html
parentbde0c042a2d050a8549707f62dec57844c56a0c5 (diff)
downloadcanory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.gz
canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.tar.bz2
canory-ef2611e3c2c07b42f4c8d32ad8cce7d5d634e822.zip
themes/default/layouts/partials/function-paths: Return dict here
Diffstat (limited to 'themes/default/layouts/partials/function-paths.html')
-rw-r--r--themes/default/layouts/partials/function-paths.html14
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"
+ )
+-}}