From 64cb04e0eb2a0f585f1ac58dc3cb55388d644669 Mon Sep 17 00:00:00 2001 From: karim Date: Mon, 29 Jun 2026 12:06:56 +0200 Subject: [PATCH] openbureau as filebrowser --- layouts/_default/openbureau.html | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 layouts/_default/openbureau.html diff --git a/layouts/_default/openbureau.html b/layouts/_default/openbureau.html new file mode 100644 index 0000000..46145f2 --- /dev/null +++ b/layouts/_default/openbureau.html @@ -0,0 +1,35 @@ +{{ define "bodyclass" }}page-openbureau{{ end }} +{{ define "main" }} +{{ $rapport := .Site.GetPage "/ob/rapport" }} +{{ $dossier := .Site.GetPage "/ob/dossier" }} +
+

$ ls

+ {{ $total := 1 }}{{ if $rapport }}{{ $total = add $total 1 }}{{ end }}{{ if $dossier }}{{ $total = add $total 1 }}{{ end }} +

total {{ $total }}

+ + +
+
{{ .Content }}
+ {{ if $rapport }}{{ end }} + {{ if $dossier }}{{ end }} +
info.md
+
+
+{{ end }}