hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit e17b983473d181ceacc7d20063ec16b8d03df7e4
parent 2cfbf95de2648e8ffa6f3c6d411169ff548e8396
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Thu, 24 Jan 2019 13:14:09 -0500

Add properties in meta files

Diffstat:
Mcontent/a-propos.json | 1+
Mcontent/txt/index.lua | 18++++++++++--------
2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/content/a-propos.json b/content/a-propos.json @@ -7,5 +7,6 @@ "title":"À propos de ce site Web", "navigation": { "label": "À propos", + "order": 2, } } diff --git a/content/txt/index.lua b/content/txt/index.lua @@ -1,10 +1,12 @@ return { - date = "0000-00-00", - datetime = "12:22:16", - template = "default-index", - title = "Textes", - navigation = {}, - filter = function(self) - return #self.entries - end, + date = "0000-00-00", + datetime = "12:22:16", + template = "default-index", + title = "Textes", + navigation = { + order = 5 + }, + filter = function(self) + return #self.entries + end, }