commit a21f77461320597f4c449dfc2eeda2bd9ccf9b84
parent fc0de367d9a0cf4bf075ce6115b2557140efafac
Author: Hugo Soucy <hugo@soucy.cc>
Date: Mon, 11 Oct 2021 22:23:09 -0400
Test the collection functionality
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/content/index.lua b/content/index.lua
@@ -3,14 +3,18 @@ return {
datetime = "00:00:00",
id = "tag:hugo.soucy.cc,0000-00-00:0000/00/index",
template = "index",
- --list = false,
+ list = false,
title = "Hugo Soucy, développeur Web front-end habitant Lévis, et ceci est sa page Web",
keywords = { "développeur front-end","intégrateur web","a11y", "accessibilité web", "Lévis", "Québec", },
+
navigation = {
attributes = {"rel=\"index\""},
label = "Intro",
order = 1
},
+ collection = { os.date('%Y')..'/' }, -- create a collection from the current year folder
+
+
-- vcard = function()
-- local file = io.popen('curl https://raw.githubusercontent.com/hs0ucy/vcard/main/index.html')
-- local data = file:read("*a")