feat: Add index page
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2023-07-21 16:52:59 +02:00
parent 93828cf3c9
commit e5f065b738
3 changed files with 22 additions and 0 deletions

View File

@ -1,5 +1,6 @@
baseURL = "https://diapos.resilien.fr/"
languageCode = "fr-fr"
defaultContentLanguage = 'fr'
title = "Présentation"
theme = "reveal-hugo"

View File

@ -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>

8
layouts/index.html Normal file
View File

@ -0,0 +1,8 @@
{{ define "main" }}
{{ .Content }}
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}