diff options
Diffstat (limited to '')
-rwxr-xr-x | generate.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generate.sh b/generate.sh new file mode 100755 index 0000000..08d9916 --- /dev/null +++ b/generate.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env sh + +echo "Generate html" +mandoc -T html -O style=./style.css website.7 > website.7.html +echo "Changing Mastodon hyperlink style" +sed -i 's|<p class="Pp">- <a class="Lk" href="https://tech.lgbt/@axtlos">Mastodon</a></p>|<p class="Pp">- <i class="Em">Mastodon:</i> <a class="Lk" href="https://tech.lgbt/@axtlos">https://tech.lgbt/@axtlos</a></p>|g' website.7.html +echo "Adding Gifs" +sed -i 's|</body>|<img src="https://cyber.dabamos.de/88x31/delete-twitter.gif" alt="delete twitter, make a neocities!"/>\n<img src="https://cyber.dabamos.de/88x31/antinazi.gif" alt="No nazis! No fascists! No racism!"/>\n<img src="https://cyber.dabamos.de/88x31/rainbow_bev.gif" alt="Pride flag"/>\n</body>|g' website.7.html +echo "Succesfully generated website" |