aboutsummaryrefslogtreecommitdiffstats
path: root/mynah
diff options
context:
space:
mode:
authorelioat@tilde.institute <eli@newstartmobile.com>2023-01-16 15:06:41 -0500
committerelioat@tilde.institute <eli@newstartmobile.com>2023-01-16 15:06:41 -0500
commit2ef3a6b3dca69e42b7edba66f8eaaf6187775827 (patch)
treea28a4f7b88f90c9e13189bd18d49e684dd34f3e9 /mynah
parent3a9909a366aa4517f0b88cea920e7620f1b78c84 (diff)
downloadwiki-2ef3a6b3dca69e42b7edba66f8eaaf6187775827.tar.gz
*
Diffstat (limited to 'mynah')
-rwxr-xr-xmynah5
1 files changed, 3 insertions, 2 deletions
diff --git a/mynah b/mynah
index cf9c876..1cf0164 100755
--- a/mynah
+++ b/mynah
@@ -45,7 +45,7 @@ build_logs() {
echo -e "$archive_entry" >> ../archive.md
done
cd ..
- pandoc -c styles.css -s archive.md -o public/archive.html
+ pandoc -c https://elioat.tilde.institute/wiki/styles.css -s archive.md -o public/archive.html
}
build() {
@@ -64,7 +64,7 @@ build() {
(( i++ ))
updated_at="- [${file%.*}](${SITEURL}/${file%.*}.html), ${RFC822}"
echo -e "$updated_at\n$(cat ../changelog.md)" > ../changelog.md
- pandoc -c ../styles.css -s "${file}" -o ../public/"${file%.*}".html
+ pandoc -c https://elioat.tilde.institute/wiki/styles.css -s "${file}" -o ../public/"${file%.*}".html
rss_entry='<item>
<title>
<![CDATA[ the page "'${file%.*}'" was updated! ]]>
@@ -126,6 +126,7 @@ elif [[ "${1-}" =~ ^-*s(earch)?$ ]]; then
exit
elif [[ "${1-}" =~ ^-*d(eploy)?$ ]]; then
scp -r public/* elioat@tilde.institute:~/public_html/wiki/
+ scp styles.css elioat@tilde.institute:~/public_html/wiki/
exit
elif [[ "${1-}" =~ ^-*n(est)?$ ]]; then
if [[ -f content ]]; then