diff options
author | tdro <tdro@noreply.example.com> | 2022-07-18 12:27:23 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-18 12:27:23 -0400 |
commit | e5b102711f9afb5ed7eea28d9ef191cbe1b8db05 (patch) | |
tree | 4fecaa2f42abc4e21c3ffb5322c58988d5fc55f6 /themes/default/layouts/partials/generate-authors.html | |
parent | 004dfef5eb2e81e39cbb11a766b0a22975e48194 (diff) | |
download | canory-e5b102711f9afb5ed7eea28d9ef191cbe1b8db05.tar.gz canory-e5b102711f9afb5ed7eea28d9ef191cbe1b8db05.tar.bz2 canory-e5b102711f9afb5ed7eea28d9ef191cbe1b8db05.zip |
themes/default/layouts/partials/function: Do not fetch saved favicons again
Separate fetch function. Use permalink in write to file pattern.
Diffstat (limited to 'themes/default/layouts/partials/generate-authors.html')
-rw-r--r-- | themes/default/layouts/partials/generate-authors.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/default/layouts/partials/generate-authors.html b/themes/default/layouts/partials/generate-authors.html index 8e2081f..f622765 100644 --- a/themes/default/layouts/partials/generate-authors.html +++ b/themes/default/layouts/partials/generate-authors.html @@ -11,7 +11,7 @@ ) $configuration -}} - {{- $writeToFile := $configuration.RelPermalink -}} + {{- $writeToFile := $configuration.Permalink -}} {{- end -}} @@ -25,7 +25,7 @@ ) $markdown -}} - {{- $writeToFile := $template.RelPermalink -}} + {{- $writeToFile := $template.Permalink -}} {{- $template := resources.ExecuteAsTemplate (print "/data/generates/content/" . "/feeds/" "_index.md") @@ -35,7 +35,7 @@ ) $markdown -}} - {{- $writeToFile := $template.RelPermalink -}} + {{- $writeToFile := $template.Permalink -}} {{- $template := resources.ExecuteAsTemplate (print "/data/generates/content/" . "/media/" "_index.md") @@ -45,7 +45,7 @@ ) $markdown -}} - {{- $writeToFile := $template.RelPermalink -}} + {{- $writeToFile := $template.Permalink -}} {{- $template := resources.ExecuteAsTemplate (print "/data/generates/content/" . "/likes/" "_index.md") @@ -55,7 +55,7 @@ ) $markdown -}} - {{- $writeToFile := $template.RelPermalink -}} + {{- $writeToFile := $template.Permalink -}} {{- $template := resources.ExecuteAsTemplate (print "/data/generates/content/" . "/drafts/" "_index.md") @@ -65,6 +65,6 @@ ) $markdown -}} - {{- $writeToFile := $template.RelPermalink -}} + {{- $writeToFile := $template.Permalink -}} {{- end -}} |