diff options
Diffstat (limited to 'mynah')
-rwxr-xr-x | mynah | 5 |
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 |