diff options
author | EuAndreh <eu@euandre.org> | 2024-11-17 20:59:28 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-17 20:59:28 -0300 |
commit | 868f5aed85ce9b4b502e9ba34b541f721f7e33e5 (patch) | |
tree | 0da7d52a8d31fb5005d36830b01680071365c089 /src | |
parent | src/conf: Adapt base_url() to allow ../ (diff) | |
download | mkwb-868f5aed85ce9b4b502e9ba34b541f721f7e33e5.tar.gz mkwb-868f5aed85ce9b4b502e9ba34b541f721f7e33e5.tar.xz |
Rename atom -> feed
Diffstat (limited to '')
-rwxr-xr-x | src/conf | 18 | ||||
-rwxr-xr-x | src/html | 2 |
2 files changed, 10 insertions, 10 deletions
@@ -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" @@ -132,7 +132,7 @@ $head_meta_author_html <link rel="stylesheet" type="text/css" href="$css_url" /> <link rel="shortcut icon" type="image/svg+xml" href="$favicon_url" /> <link rel="canonical" type="text/html" href="$url_absolute" /> - <link rel="alternate" type="application/atom+xml" href="$atom_url" title="$feed_title_html" /> + <link rel="alternate" type="application/atom+xml" href="$feed_url" title="$feed_title_html" /> $collection_head_prev_html $collection_head_post_html <title>$titlefull_html</title> |