fix colons in titles

This commit is contained in:
uoou 2021-01-14 15:26:14 +00:00
parent 7f3506e0fb
commit 248d587052
1 changed files with 1 additions and 1 deletions

2
blop
View File

@ -123,7 +123,7 @@ for file in $(ls -t1 "$blogdir/markdown/"*.md); do
author=$default_author
fi
echo "Making \"$title\""
pandoc $file > "$temp"/post
pandoc <<<$(cat $file | sed '/^---$/,/^---$/d') > "$temp"/post
listitem=$(echo "$listing_format" | sed -e "s/<!--title-nospaces-->/$title_nospaces/g" -e "s/<!--title-->/$title/g" -e "s@<!--date-->@$date@g" -e "s/<!--author-->/$author/g" -e "s/<!--summary-->/$summary/g")
if [[ "$max_posts" = "unlimited" ]] || [[ $postcount -le $max_posts ]]; then
# Put it on the front page