Testing Hugo with bootstrap5
This commit is contained in:
19
themes/bootstrap5/layouts/_default/baseof.html
Normal file
19
themes/bootstrap5/layouts/_default/baseof.html
Normal 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>
|
||||
0
themes/bootstrap5/layouts/_default/list.html
Normal file
0
themes/bootstrap5/layouts/_default/list.html
Normal file
7
themes/bootstrap5/layouts/_default/single.html
Normal file
7
themes/bootstrap5/layouts/_default/single.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user