summaryrefslogtreecommitdiff
path: root/md.sh
diff options
context:
space:
mode:
Diffstat (limited to 'md.sh')
-rwxr-xr-xmd.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/md.sh b/md.sh
index 21aed6f..224de56 100755
--- a/md.sh
+++ b/md.sh
@@ -86,6 +86,9 @@ METADESC="\&laquo\;${BOMBER}\&raquo\; \&mdash\; ${LEADING}"
sed "s;<meta name=\"description\" content=\"#;<meta name=\"description\" content=\"${METADESC};1" -i'' $OUT
printf '[ok] meta description\n'
+NAVLINE=$(grep -n '<nav>' $OUT | cut -f 1 -d :)
+sed "${NAVLINE}r distress.network/nav.html" -i'' $OUT
+printf '[ok] sitemap\n'
[ "$(grep -n '<p><img' $OUT)" ] && {