diff options
Diffstat (limited to 'ssg5')
-rwxr-xr-x | ssg5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssg5 b/ssg5 index fa5bd4c..d011fbd 100755 --- a/ssg5 +++ b/ssg5 @@ -200,7 +200,7 @@ render_md_files_lowdown() { echo "" > $in [ "$(echo $f | cut -d'/' -f 2)" = "kronika" ] && echo "<article>" > $in # Filter out frontmatter - tail -n +$(($(sed -n '/---/,/---/p' $1/$f | wc -l)+2)) $1/$f | \ + tail -n +$(($(sed -n '/---/,/---/p' $1/$f | wc -l)+1)) $1/$f | \ lowdown --html-no-skiphtml --html-no-escapehtml >> $in && \ [ "$(echo $f | cut -d'/' -f 2)" = "kronika" ] && echo "</article>" >> $in |