mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-04 20:53:24 +00:00
fix(website): make footer stay at bottom properly
This commit is contained in:
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…
x
Reference in New Issue
Block a user