change parse_frontmatter func call with new one
This commit is contained in:
parent
3ee81c9ac7
commit
14bf55f86f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue