Minor change

This commit is contained in:
Stig-Ørjan Smelror 2024-02-10 21:56:48 +01:00
parent 162f217f94
commit a707f1e009

4
qsgen2
View File

@ -658,12 +658,12 @@ function _blogs() {
local sdate btitle ingress body blog_index blog_dir blog_url
# Check for the DATE line
if [[ ! "${content}" =~ ^DATE\ ]]; then
if [[ ! "${content}" =~ ^DATE\ ]]; then
_msg debug "_blogs: DATE metadata missing in ${blog}."
continue # Skip this file and move to the next
fi
# Check for the BLOG_TITLE line
if [[ ! "${content}" =~ ^BLOG_TITLE\ ]]; then
if [[ ! "${content}" =~ ^BLOG_TITLE\ ]]; then
_msg debug "_blogs: BLOG_TITLE metadata missing in ${blog}."
continue # Skip this file and move to the next
fi