aboutsummaryrefslogtreecommitdiffstats
path: root/gemlog/.template
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-06-01 17:04:57 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-06-01 17:04:57 +0300
commit75704efa248c4262d762e118f6421ffd263fd564 (patch)
treef6885db6d7665ea8f786ebb1dce5e1cb6113281a /gemlog/.template
parentd543ec9c1e7d02cd71599cbc62e11ba84c3f084c (diff)
downloadgemini-aaoth.xyz-75704efa248c4262d762e118f6421ffd263fd564.tar.gz
gemini-aaoth.xyz-75704efa248c4262d762e118f6421ffd263fd564.zip
add gemlog and tool to publish to it
the tool is a simple script that is very similar to one i created for aaoth.xyz, except that this script utilizes simple template. template variables are: - title -- post title - date -- date when post is written - tags -- space separated list of tags - gemlog_location -- relative path to gemlog homepage - gemlog_title -- title of link to gemlog homepage - gemlikes -- relative path to gemlikes `view` binary with query
Diffstat (limited to 'gemlog/.template')
-rw-r--r--gemlog/.template12
1 files changed, 12 insertions, 0 deletions
diff --git a/gemlog/.template b/gemlog/.template
new file mode 100644
index 0000000..16ce570
--- /dev/null
+++ b/gemlog/.template
@@ -0,0 +1,12 @@
+# {{ title }}
+
+* date: {{ date }}
+* author: la-ninpre
+{{ tags }}
+
+
+
+## links
+
+=> {{ gemlog_location }} {{ gemlog_title }}
+=> {{ gemlikes }} like and comment!