diff options
author | tdro <tdro@noreply.example.com> | 2022-07-10 00:09:15 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-10 00:09:15 -0400 |
commit | 56afea8037ba5476ac2338503e77d5a1fd82fb7f (patch) | |
tree | e27ee9928b6ccec3179fef8b6687ece085fa62d0 /themes/default/layouts/partials/function-paths.html | |
parent | 734ca16734e01d4b2808e8468ecf7f863a5e32c5 (diff) | |
download | canory-56afea8037ba5476ac2338503e77d5a1fd82fb7f.tar.gz canory-56afea8037ba5476ac2338503e77d5a1fd82fb7f.tar.bz2 canory-56afea8037ba5476ac2338503e77d5a1fd82fb7f.zip |
themes/default/layouts/partials/function-paths: Collect paths functions here
Diffstat (limited to 'themes/default/layouts/partials/function-paths.html')
-rw-r--r-- | themes/default/layouts/partials/function-paths.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-paths.html b/themes/default/layouts/partials/function-paths.html new file mode 100644 index 0000000..74d285c --- /dev/null +++ b/themes/default/layouts/partials/function-paths.html @@ -0,0 +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 -}} |