diff --git a/config.toml b/config.toml index d6c841a..bf7708a 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,6 @@ baseURL = "https://diapos.resilien.fr/" languageCode = "fr-fr" +defaultContentLanguage = 'fr' title = "Présentation" theme = "reveal-hugo" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..4b0c0f0 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,13 @@ + + +{{/* {{ partial "head.html" . }} */}} + + {{/* {{ partial "header.html" . }} */}} + {{/* {{ partial "debug.html" . }} */}} +
+ {{ block "main" . }}{{ end }} +
+ {{/* {{ partial "footer.html" . }} */}} + {{/* {{ partial "js.html" . }} */}} + + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..7702a41 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,8 @@ +{{ define "main" }} + {{ .Content }} + +{{ end }} \ No newline at end of file