diff options
author | tdro <tdro@noreply.example.com> | 2022-12-21 19:20:43 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-21 19:20:43 -0500 |
commit | b7acf1be64b6845a0b826a1af4c0db62e70e9aba (patch) | |
tree | 27c47c722f035ebdf210dabdda025467d7431ec1 /themes/default/layouts/partials/function-generate-feeds.html | |
parent | 1ee7be4fb6e73ced1a314712e870759e8ff7eff5 (diff) | |
download | canory-b7acf1be64b6845a0b826a1af4c0db62e70e9aba.tar.gz canory-b7acf1be64b6845a0b826a1af4c0db62e70e9aba.tar.bz2 canory-b7acf1be64b6845a0b826a1af4c0db62e70e9aba.zip |
themes/default/layouts/partials/function-strip-filechars: Use replace here
function-strip-urlchars -> function-strip-filechars
Diffstat (limited to 'themes/default/layouts/partials/function-generate-feeds.html')
-rw-r--r-- | themes/default/layouts/partials/function-generate-feeds.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/function-generate-feeds.html b/themes/default/layouts/partials/function-generate-feeds.html index 9c5045a..d97d647 100644 --- a/themes/default/layouts/partials/function-generate-feeds.html +++ b/themes/default/layouts/partials/function-generate-feeds.html @@ -205,7 +205,7 @@ {{- $alias := truncate 255 "" (delimit (first 8 (split (.FeedTitle | urlize) "-")) "-" | humanize | urlize) -}} {{- $hash := .FeedLink | sha256 | truncate 8 "" -}} {{- $file := print $alias "-" $hash -}} - {{- $file = partial "function-strip-urlchars.html" $file -}} + {{- $file = partial "function-strip-filechars.html" $file -}} {{- $path := print "/data/generates/content/" $author.user "/feeds/" $file ".md" -}} {{- $content := .FeedContentShort -}} |