diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-14 11:24:03 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-14 11:24:03 +0100 |
commit | bf3930d8841b5b192f251c057167006daa084e44 (patch) | |
tree | dc66c7e6828d025251c056492ccfc07095c1fd5c /ssg5 | |
parent | 2fc8dfda51a15865a206696e5f5cb7ef2b4eaeeb (diff) | |
download | kronika-bf3930d8841b5b192f251c057167006daa084e44.tar.gz kronika-bf3930d8841b5b192f251c057167006daa084e44.zip |
Fix margin
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 |