commit ae86fc47f28b5458f1776e00fbe3c49cbee669da
parent eacecfa7739ba694e086f3ac9dc6c14ccaf3be9e
Author: parazyd <parazyd@dyne.org>
Date: Wed, 15 Feb 2017 04:25:37 +0100
remove /err
Diffstat:
8 files changed, 4 insertions(+), 35 deletions(-)
diff --git a/err/403.md b/err/403.md
@@ -1,6 +0,0 @@
-403
-===
-
-not for your eyes
-
-move along...
diff --git a/err/404.md b/err/404.md
@@ -1,6 +0,0 @@
-404
-===
-
-another file deleted by systemd
-
-move along...
diff --git a/err/footer.html b/err/footer.html
@@ -1 +0,0 @@
-../footer.html-
\ No newline at end of file
diff --git a/err/header.html b/err/header.html
@@ -1 +0,0 @@
-../header.html-
\ No newline at end of file
diff --git a/err/navigation.html b/err/navigation.html
@@ -1 +0,0 @@
-../navigation.html-
\ No newline at end of file
diff --git a/mars b/mars
@@ -31,7 +31,7 @@ process() {
}
pagetitle="$(sed 1q $page) | $maintitle"
- sed -e 's:<title>.*</title>:</title>'"$pagetitle"'</title>:' \
+ sed -e 's:<title>.*</title>:<title>'"$pagetitle"'</title>:' \
-i ${name}.html
python -m markdown "$page" >> "${name}.html" \
@@ -43,17 +43,6 @@ process() {
cat $i >> "${name}.html"
done
}
-
- if [ $(grep "${name}.html" "${name}.html" >/dev/null) ]; then
- sed -e 's:class="thisSite" ::' \
- -e 's:href='"$name"'.html:class="thisSite" href="'"$name"'.html":' \
- -i "${name}.html"
- else
- dirstr="$(basename $PWD)"
- sed -e 's:class="thisSite" ::' \
- -e 's:href="/'"$dirstr"'/":class="thisSite" href="/'"$dirstr"'/":' \
- -i ${name}.html
- fi
fi
done
cd - >/dev/null
diff --git a/navigation.html b/navigation.html
@@ -1,10 +1,10 @@
<div id="menu">
<span class="left">
- <a class="thisSite" href="/">home</a>
+ <a href="/">home</a>
<a href="/musings/">musings</a>
<a href="/projects/">projects</a>
- <a href="https://git.parazyd.cf">git</a>
- <a href="https://pub.parazyd.cf">pub</a>
+ <a href="http://git.parazyd.cf">git</a>
+ <a href="http://pub.parazyd.cf">pub</a>
<a href="/contact.html">contact</a>
</span>
diff --git a/webtree b/webtree
@@ -8,8 +8,6 @@ maintitle="parazyd.cf"
tree="
.
- err
-
musings
projects