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>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
{{- partial "head.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" . -}}
|
{{- partial "header.html" . -}}
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ 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="container" style="width: 240px;">
|
||||||
<div class="p-3 col">
|
<div class="p-3 col">
|
||||||
<ul class="nav nav-pills mb-auto">
|
<ul class="nav nav-pills mb-auto">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main>
|
<main>
|
||||||
<div class="text-center container my-5">
|
<div class="container my-5">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</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 class="col mb-3">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue