diff options
author | Camil Staps | 2021-06-23 10:28:05 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-23 10:28:36 +0200 |
commit | 8e5dc18b9a655200e3355410e812e49db27a4171 (patch) | |
tree | 21b387fd9ffe89b579fc2c7e6c6b125f3146c393 /resources/pug/include/layout-articles.pug | |
parent | Setup infrastructure for articles written in markdown (diff) |
Arrange menu on /articles by year
Diffstat (limited to 'resources/pug/include/layout-articles.pug')
-rw-r--r-- | resources/pug/include/layout-articles.pug | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/pug/include/layout-articles.pug b/resources/pug/include/layout-articles.pug index 88b1aea..26fa69f 100644 --- a/resources/pug/include/layout-articles.pug +++ b/resources/pug/include/layout-articles.pug @@ -4,5 +4,7 @@ block append menu - var base_url = '/articles/' +menu( {name: 'Home', link: ''}, - {name: 'Clean Sandbox', year: 2021, month: 6, day: 22}, + {name: 2021, menu: [ + {name: 'Clean Sandbox', year: 2021, month: 6, day: 22}, + ]}, ) |