From 868f5aed85ce9b4b502e9ba34b541f721f7e33e5 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Nov 2024 20:59:28 -0300 Subject: Rename atom -> feed --- src/conf | 18 +++++++++--------- src/html | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/conf b/src/conf index 50c5b48..ae39874 100755 --- a/src/conf +++ b/src/conf @@ -158,12 +158,12 @@ TITLEFULL_RAW="$TITLE_RAW | $site_name" if [ -z "${css_url:-}" ]; then css_url="$BASE_URL/style.css" fi -if [ -z "${atom_url:-}" ]; then - atom_url="$BASE_URL/atom.xml" +if [ -z "${feed_url:-}" ]; then + feed_url="$BASE_URL/feed.xml" fi -if [ -z "${atomicon_url:-}" ]; then - needs "${img_dir:-}" 'Define either $atomicon_url or $img_dir' - atomicon_url="$BASE_URL/$img_dir/atom.svg" +if [ -z "${feedicon_url:-}" ]; then + needs "${img_dir:-}" 'Define either $feedicon_url or $img_dir' + feedicon_url="$BASE_URL/$img_dir/feed.svg" fi if [ -z "${favicon_url:-}" ]; then needs "${img_dir:-}" 'Define either $favicon_url or $img_dir' @@ -185,8 +185,8 @@ discussions_url="$(printf '%s%s\n' "$discussions_url_prefix" "$title_uri" | shes url="$(printf '%s\n' "${UNPREFIXED%.adoc}.html" | shesc)" css_url="$( printf '%s\n' "$css_url" | shesc)" -atom_url="$( printf '%s\n' "$atom_url" | shesc)" -atomicon_url="$( printf '%s\n' "$atomicon_url" | shesc)" +feed_url="$( printf '%s\n' "$feed_url" | shesc)" +feedicon_url="$( printf '%s\n' "$feedicon_url" | shesc)" favicon_url="$( printf '%s\n' "$favicon_url" | shesc)" logo_url_prefix="$( printf '%s\n' "$logo_url_prefix" | shesc)" envelopeicon_url_prefix="$(printf '%s\n' "$envelopeicon_url_prefix" | shesc)" @@ -199,8 +199,8 @@ titlefull="$( printf '%s\n' "$TITLEFULL_RAW" | shesc)" titlefull_html="$(printf '%s\n' "$TITLEFULL_RAW" | htmlesc | shesc)" cat <<-EOF export css_url="$css_url" - export atom_url="$atom_url" - export atomicon_url="$atomicon_url" + export feed_url="$feed_url" + export feedicon_url="$feedicon_url" export favicon_url="$favicon_url" export logo_url_prefix="$logo_url_prefix" export envelopeicon_url_prefix="$envelopeicon_url_prefix" diff --git a/src/html b/src/html index b6467d7..8cf019c 100755 --- a/src/html +++ b/src/html @@ -132,7 +132,7 @@ $head_meta_author_html - + $collection_head_prev_html $collection_head_post_html $titlefull_html -- cgit v1.2.3