feat: Add index page
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
93828cf3c9
commit
e5f065b738
|
@ -1,5 +1,6 @@
|
||||||
baseURL = "https://diapos.resilien.fr/"
|
baseURL = "https://diapos.resilien.fr/"
|
||||||
languageCode = "fr-fr"
|
languageCode = "fr-fr"
|
||||||
|
defaultContentLanguage = 'fr'
|
||||||
title = "Présentation"
|
title = "Présentation"
|
||||||
|
|
||||||
theme = "reveal-hugo"
|
theme = "reveal-hugo"
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.Language.Lang }}">
|
||||||
|
{{/* {{ partial "head.html" . }} */}}
|
||||||
|
<body>
|
||||||
|
{{/* {{ partial "header.html" . }} */}}
|
||||||
|
{{/* {{ partial "debug.html" . }} */}}
|
||||||
|
<main>
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
</main>
|
||||||
|
{{/* {{ partial "footer.html" . }} */}}
|
||||||
|
{{/* {{ partial "js.html" . }} */}}
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,8 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
|
<ul>
|
||||||
|
{{ range .Pages }}
|
||||||
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue