aboutsummaryrefslogtreecommitdiff
path: root/v2/src/bin/feed
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-10 16:18:01 -0300
committerEuAndreh <eu@euandre.org>2023-04-10 16:18:01 -0300
commit4b9cddca7f0f75e321319c79e94b3af3ce37e5ef (patch)
tree3cbbaba20deadebb9169c6c2a1ea65d984da05ae /v2/src/bin/feed
parentv2: <link /> to translated version in <head /> (diff)
downloadeuandre.org-4b9cddca7f0f75e321319c79e94b3af3ce37e5ef.tar.gz
euandre.org-4b9cddca7f0f75e321319c79e94b3af3ce37e5ef.tar.xz
v2: <link /> to collection feed inside <head>
Diffstat (limited to 'v2/src/bin/feed')
-rwxr-xr-xv2/src/bin/feed2
1 files changed, 1 insertions, 1 deletions
diff --git a/v2/src/bin/feed b/v2/src/bin/feed
index f55ba89..4e0d2f5 100755
--- a/v2/src/bin/feed
+++ b/v2/src/bin/feed
@@ -76,7 +76,7 @@ eval "$(assert_arg "$FILENAME" 'FILENAME')"
now="$(date -uIs)"
url_absolute="$(url-for "${FILENAME#"$CONTENT_PREFIX"/}" | absolute)"
site_name_html="$(htmlesc "${site_name:?}")"
-collection="$(sh src/bin/collection-for "$FILENAME")"
+collection="$(collection-for "$FILENAME")"
coll_path="$(coll2path "${lang:?}" "$collection")"
collection_url_absolute="$(url-for "${lang:?}/$coll_path" | absolute)"
feed_title_html="$(eval "echo \"\$feed_${collection}_title\"" | htmlesc)"