about summary refs log tree commit diff
path: root/ssg5
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 11:24:03 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 11:24:03 +0100
commitbf3930d8841b5b192f251c057167006daa084e44 (patch)
treedc66c7e6828d025251c056492ccfc07095c1fd5c /ssg5
parent2fc8dfda51a15865a206696e5f5cb7ef2b4eaeeb (diff)
downloadkronika-bf3930d8841b5b192f251c057167006daa084e44.tar.gz
kronika-bf3930d8841b5b192f251c057167006daa084e44.zip
Fix margin
Diffstat (limited to 'ssg5')
-rwxr-xr-xssg52
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