tAdd preliminary gopher template and deployment - adamsgaard.dk - my academic webpage
(HTM) git clone git://src.adamsgaard.dk/adamsgaard.dk
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c0d89101eb6222e1a3f3a78aa6203806e6c79874
(DIR) parent 1f10bbd3d8dc6235ff4a7a3fb12e06c702611d54
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 23 Feb 2020 21:36:46 +0100
Add preliminary gopher template and deployment
Diffstat:
M Makefile | 3 +++
A templates/index.gph/footer.gph | 2 ++
A templates/index.gph/header.gph | 10 ++++++++++
A templates/index.gph/item.gph | 1 +
4 files changed, 16 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -14,6 +14,9 @@ deploy: generate
rsync -rav --progress \
papers video img $(output)/ \
adamsgaard.dk:/var/www/domains/adamsgaard.dk/
+ rsync -rav --progress \
+ $(output)/ \
+ adamsgaard.dk:/var/gopher/
clean:
rm -f -r $(output)/
(DIR) diff --git a/templates/index.gph/footer.gph b/templates/index.gph/footer.gph
t@@ -0,0 +1,2 @@
+
+[0|Atom feed|/atom.xml|${siteurl}|70]
(DIR) diff --git a/templates/index.gph/header.gph b/templates/index.gph/header.gph
t@@ -0,0 +1,10 @@
+Welcome to...
+ /\ ._ _| _ .__/ _ |_ ._ _. _ _
+/--\| |(_|(/_|_> \/\/(/_|_)|_)(_|(_|(/_
+ | _|
+${sitetitle}
+[i||Err||]
+[1|Code|/|https://src.adamsgaard.dk|70]
+[h|Contact|/contact.html|https://adamsgaard.dk|70]
+
+Posts
(DIR) diff --git a/templates/index.gph/item.gph b/templates/index.gph/item.gph
t@@ -0,0 +1 @@
+[h|${created} ${title}|/${filename}|${siteurl}|70]