Testing Hugo with bootstrap5

This commit is contained in:
Franz Klotsche
2025-11-09 19:57:15 +01:00
parent 16edfac859
commit a08038b6f9
23 changed files with 9431 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
<div class="container-fluid p-5 bg-primary text-white text-center">
{{- partial "header.html" . -}}
</div>
{{- partial "nav.html" . -}}
<div class="container mt-5">
<div class="row">
<div class="col-sm-4">
{{- block "main" . }}{{- end }}
</div>
</div>
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@@ -0,0 +1,7 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
{{ end }}