Initial commit: Hugo setup met Bootstrap
This commit is contained in:
18
layouts/_default/baseof.html
Normal file
18
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="nl">
|
||||
<head>
|
||||
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<main class="my-5">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
6
layouts/_default/list.html
Normal file
6
layouts/_default/list.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
8
layouts/_default/single.html
Normal file
8
layouts/_default/single.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<article class="py-5">
|
||||
<h1 class="display-4 fw-bold">{{ .Title }}</h1>
|
||||
<div class="content mt-4">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user