website

Le code pour générer le site web du duché perché.
Log | Files | Refs

commit 4167a90951c75bd333ba2d9717dc9bb6f604cb8e
parent b60faf5b5302dc218943d952556f0af826c397be
Author: Adriel Dumas--Jondeau <leirda@disroot.org>
Date:   Fri, 21 Jun 2024 22:17:50 +0200

Ajoute une galerie des photos du blog

Diffstat:
Mhaunt.scm | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/haunt.scm b/haunt.scm @@ -1,5 +1,6 @@ (define-module (duché-perché website) #:use-module (duper) + #:use-module (duper builder gallery) #:use-module (haunt asset) #:use-module (haunt builder assets) @@ -80,6 +81,7 @@ ,sxml-logo) ,(urls `(("/blog.html" . "Blog") ("/évènements.html" . "Évènements") + ("/photos.html" . "Galerie") ("/apropos.html" . "À propos"))))) (define duper-footer @@ -118,6 +120,8 @@ #:blog-prefix post-prefix) (atom-feed #:subtitle "Évènements au duché perché" #:blog-prefix event-prefix) + (gallery #:file-name "/photos.html" + #:template (theme-layout duper-theme)) (flat-pages "pages" #:template (theme-layout duper-theme)) (static-directory "css")