about summary refs log tree commit diff
path: root/ssg5
diff options
context:
space:
mode:
Diffstat (limited to 'ssg5')
-rwxr-xr-xssg54
1 files changed, 1 insertions, 3 deletions
diff --git a/ssg5 b/ssg5
index 84311e4..67736d6 100755
--- a/ssg5
+++ b/ssg5
@@ -201,9 +201,7 @@ render_md_files_lowdown() {
       echo "<article class="kronika">" > $in || \
       echo "<article>" > $in
 
-    # Filter out frontmatter
-    tail -n +$(($(sed -n '/---/,/---/p' $1/$f | wc -l)+1)) $1/$f | \
-      lowdown --html-no-skiphtml --html-no-escapehtml >> $in && \
+    lowdown-f "$1/$f" >> $in && \
     echo "</article>" >> $in
 
     cat "$in" |