From 655cd79991ec9204afb9f5acf52495c13af14d25 Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 12 Jan 2023 17:24:25 -0600 Subject: begin go refactor --- data/index.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 data/index.md (limited to 'data/index.md') diff --git a/data/index.md b/data/index.md new file mode 100644 index 0000000..c419830 --- /dev/null +++ b/data/index.md @@ -0,0 +1,30 @@ +local tk = require 'toolkit' + +function get_blog_links() + local links = '' +end + + +local md = string.format([[ +home +==== + +welcome to sanine.net! + +%s + +[subscribe via rss](/rss.xml) +]], get_blog_links()) + +return { + title='home', + layout='base', + markdown=md, +} -- cgit v1.2.1