Browse Source

Add padding for the main element

master
dtluna 7 months ago
parent
commit
f8b67b952f
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      layouts/404.html
  2. 1
    1
      layouts/_default/baseof.html

+ 2
- 2
layouts/404.html View File

@@ -1,7 +1,7 @@
{{- define "main" -}}
<div class="row">
<div class="column">
<h1>Page not found</h1>
<div class="col">
<h1 class="text-center">Page not found</h1>
</div>
</div>
{{- end -}}

+ 1
- 1
layouts/_default/baseof.html View File

@@ -7,7 +7,7 @@
{{- with .Param "banner" -}}
{{- partial "banner.html" . -}}
{{- end -}}
<main>{{- block "main" . -}}{{- end -}}</main>
<main class="pt-5">{{- block "main" . -}}{{- end -}}</main>
{{- partial "footer.html" . -}}
</div>


Loading…
Cancel
Save