diff options
author | tdro <tdro@noreply.example.com> | 2022-07-10 03:49:11 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-10 03:49:11 -0400 |
commit | 8214bbce48e2079b9a2101ae5f2acc8429cbda80 (patch) | |
tree | 38c13f4c4d2c9146d7ebef709912fac5d51fe97c /themes/default/layouts/partials/function-paths.html | |
parent | 56afea8037ba5476ac2338503e77d5a1fd82fb7f (diff) | |
download | canory-8214bbce48e2079b9a2101ae5f2acc8429cbda80.tar.gz canory-8214bbce48e2079b9a2101ae5f2acc8429cbda80.tar.bz2 canory-8214bbce48e2079b9a2101ae5f2acc8429cbda80.zip |
themes/default/layouts/partials/function-paths: Don't bind paths
Diffstat (limited to 'themes/default/layouts/partials/function-paths.html')
-rw-r--r-- | themes/default/layouts/partials/function-paths.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/function-paths.html b/themes/default/layouts/partials/function-paths.html index 74d285c..bc36171 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 -}} +{{- 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 -}} |