summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf')
-rwxr-xr-xsrc/conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf b/src/conf
index ae39874..bdc9f1b 100755
--- a/src/conf
+++ b/src/conf
@@ -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