From 0e5eccfb37fb8ce26c50064c2ddf04f893694207 Mon Sep 17 00:00:00 2001
From: Preston Pan
Here, you will find topics related to:
@@ -72,6 +73,18 @@ Preston PanMany articles will be written in groff and compiled to pdf.
++ This website is hosted on my git server. By extension, git frontend provides + a rss/atom feed for my website so you can be notified about each update to the website (with details on what is updated + via commit messages). +
+ + +Here are the services that I run on my server/socially:
diff --git a/scripts/addback.sh b/scripts/addback.sh new file mode 100755 index 0000000..481733f --- /dev/null +++ b/scripts/addback.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# A simple extension to add a back button to every page that needs one. + +PROJECT_ROOT="./build/website" +if [ "$(realpath "$1")" = "$(realpath "$PROJECT_ROOT/index.html")" ]; then + printf ' ' + exit 0 +fi + +# +if [ "$(basename "$1")" = 'index.html' ]; +then + printf 'Back' +else + printf 'Back' +fi diff --git a/website/index.html b/website/index.html index 8ba118c..1b165b0 100644 --- a/website/index.html +++ b/website/index.html @@ -36,6 +36,7 @@ $$START CONTENT fact that I have a limited amount of time and have just changed the backend for this website. +Here, you will find topics related to:
@@ -52,6 +53,18 @@ $$START CONTENTMany articles will be written in groff and compiled to pdf.
++ This website is hosted on my git server. By extension, git frontend provides + a rss/atom feed for my website so you can be notified about each update to the website (with details on what is updated + via commit messages). +
+ + +Here are the services that I run on my server/socially:
-- cgit