fix colons in titles
This commit is contained in:
parent
7f3506e0fb
commit
248d587052
2
blop
2
blop
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue