diff options
author | EuAndreh <eu@euandre.org> | 2024-11-18 08:45:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-18 08:45:22 -0300 |
commit | d6ff6870ef6f7d2d47c102d8722a1e97a911a847 (patch) | |
tree | 2f4ed90c4f80aebaf7355658377a135bb02bf954 | |
parent | Rename atom -> feed (diff) | |
download | mkwb-d6ff6870ef6f7d2d47c102d8722a1e97a911a847.tar.gz mkwb-d6ff6870ef6f7d2d47c102d8722a1e97a911a847.tar.xz |
src/conf: Do not error on missing title
-rwxr-xr-x | src/conf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -152,7 +152,8 @@ if is_article; then fi BASE_URL="$(base_url)" -TITLE_RAW="$(cat -- "$FILENAME" | grep '^= .*' | head -n1 | cut -d' ' -f2-)" +TITLE_RAW="$(cat -- "$FILENAME" | grep '^= .*' | head -n1 | cut -d' ' -f2- || + echo 'MISSING')" TITLEFULL_RAW="$TITLE_RAW | $site_name" if [ -z "${css_url:-}" ]; then |