commit a8cb40f4da86877c35234305126fe1b4c84aa42a
parent f053c16fce2d300e1af8ae5aec0744c81e8a08f5
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Mon, 30 Dec 2019 01:31:53 -0500
Minor tweaks to publish script
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/publish b/publish
@@ -5,6 +5,7 @@
# Copyright (C) 2019 Jake Bauer
#
# A utility to publish posts/guides/projects to paritybit.ca.
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -105,7 +106,7 @@ fi
# Update the home page to show the new published article and remove oldest entry
sed -i "/<\/div>/a $miniDate \<a href=\"$basePage\/$filename\"\>$newString $pageTitle\<\/a\>\n" pages/home.md
-ed -s pages/home.md <<< $'3,$g/### What is a Parity Bit/-2,-1d\nw'
+ed -s pages/home.md <<< $'8,$g/### What is a Parity Bit/-2,-1d\nw'
./compile pages/home.md
tput setaf 3; tput bold; tput smul