From bfaccc32571df8a02f69518d8864244efba3b5b5 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Wed, 28 Jul 2021 10:58:58 -0400 Subject: php site, templating and partials, faster index generation --- cgi-bin/cv.sh | 6 ----- cgi-bin/index.sh | 82 -------------------------------------------------------- cgi-bin/rss.sh | 28 ------------------- 3 files changed, 116 deletions(-) delete mode 100755 cgi-bin/cv.sh delete mode 100755 cgi-bin/index.sh delete mode 100755 cgi-bin/rss.sh (limited to 'cgi-bin') diff --git a/cgi-bin/cv.sh b/cgi-bin/cv.sh deleted file mode 100755 index b61e9b3..0000000 --- a/cgi-bin/cv.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Converts CV to downloadable PDF. - -printf 'content-type: application/pdf\n\n' -mutool convert -F pdf cv.html diff --git a/cgi-bin/index.sh b/cgi-bin/index.sh deleted file mode 100755 index 3fea5c9..0000000 --- a/cgi-bin/index.sh +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# Generates a site index from posts and pages. - -cat << EOH -content-type: text/html - - - - - - - - - - - - - - 53hornet ➙ Home - - - - - -
- -
- -
-

- The World Wide Web pages of Adam Carpenter (53hornet) -

-
' diff --git a/cgi-bin/rss.sh b/cgi-bin/rss.sh deleted file mode 100755 index 6987745..0000000 --- a/cgi-bin/rss.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# Generates an RSS feed from all posts. - -cat << EOH -content-type: application/xml - - - - - - 53hornet's Feed - https://www.53hor.net - - The World Wide Web pages of Adam Carpenter - - https://www.53hor.net/includes/logo_diag.png - 53hornet's Feed - https://www.53hor.net - -EOH - -grep '

' posts/*\ - | sort -r\ - | sed -e 's#h1#title#g' -e 's#:##' -e 's#$##' -e 's#^#https://www.53hor.net/#' - -echo '' - -- cgit v1.2.3