mirror of https://github.com/Hilbis/Hilbish
fix(website): make footer stay at bottom properly
parent
9fefd7b53c
commit
a773c974f9
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body style="overflow-x: hidden;">
|
||||
<body class="d-flex flex-column min-vh-100" style="overflow-x: hidden;">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<div class="container mt-auto mt-auto py-3 row">
|
||||
<div class="container py-3 row">
|
||||
<div class="container" style="width: 240px;">
|
||||
<div class="p-3 col">
|
||||
<ul class="nav nav-pills mb-auto">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<div class="text-center container my-5">
|
||||
<div class="container my-5">
|
||||
{{.Content}}
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<footer class="footer fixed-bottom mt-auto mt-auto py-3 bg-light row">
|
||||
<footer class="footer mt-auto mt-auto py-3 bg-light row">
|
||||
<div class="col mb-3">
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue