change parse_frontmatter func call with new one

This commit is contained in:
encrypt 2015-08-11 17:59:42 +02:00
parent 3ee81c9ac7
commit 14bf55f86f

View file

@ -38,7 +38,7 @@ EOF
base_date=`echo $file | cut -d / -f $cut_at- | cut -d - -f -3`
date=`date --date="$base_date" "+ %a %d, %b %Y"`
link="/posts/"`date --date="$base_date" "+%Y/%m/%d"`"/"`echo $file | rev | cut -d / -f 1 | rev | sed 's/.md/.html/' | cut -d - -f 4-`
frontmatter=`parse_frontmatter $file`
frontmatter=`boh_parse_frontmatter $file`
eval $frontmatter
echo "<li><span class=\"post-meta\">$date</span><h2><a class =\"post-link\" href=\"$link\">$title</a></h2></li>" >> "$source_dir/index.md"
done