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 }}
+