aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-06-05 15:01:30 +0100
committerLeah Rowe <info@minifree.org>2017-06-05 15:01:30 +0100
commite09b731c7e8554ddde91d05b9717ce320fd84424 (patch)
tree4004094f2e535bf1e8919c2b5cb7576f0f0f5f9d /www/publish.sh
parent4ca23d22bea90f218384626f74e41955a4be1848 (diff)
downloadlibrebootfr-e09b731c7e8554ddde91d05b9717ce320fd84424.tar.gz
librebootfr-e09b731c7e8554ddde91d05b9717ce320fd84424.zip
fix links on andrew's news entry, with alyssa's permission
pull request not needed. alyssa gave me permission via email, to push this directly to master
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 606c1fc9..f9aabf3e 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -57,6 +57,10 @@ fi
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*]/.html\1]/g'
+# change out .md -> .html
+sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'
+sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*]/.html\1]/g'
+
# work around issue #2872
TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || TOC=""