mirror of https://github.com/lumapu/ahoy.git
lumapu
2 years ago
6 changed files with 52 additions and 40 deletions
@ -1 +1,2 @@ |
|||||
/public |
/public |
||||
|
/.hugo_build.lock |
||||
|
@ -1,15 +1,13 @@ |
|||||
<!doctype html> |
<!doctype html> |
||||
<html lang="en"> |
<html lang="en" class="h-100"> |
||||
{{ partial "head.html" . }} |
{{ partial "head.html" . }} |
||||
<body> |
<body class="d-flex flex-column h-100"> |
||||
<div id="body"> |
|
||||
{{ partial "nav.html" . }} |
{{ partial "nav.html" . }} |
||||
|
<main class="flex-shrink-0 pt-5 pb-5"> |
||||
<div class="container"> |
<div class="container"> |
||||
<main id="main"> |
|
||||
{{ block "main" . }}{{ end }} |
{{ block "main" . }}{{ end }} |
||||
</main> |
|
||||
</div> |
|
||||
</div> |
</div> |
||||
|
</main> |
||||
{{ partial "footer.html" . }} |
{{ partial "footer.html" . }} |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
@ -1,19 +1,12 @@ |
|||||
<footer class="text-center text-lg-start bg-light text-muted"> |
<footer class="footer mt-auto px-4 py-5 bg-dark"> |
||||
<div class="row mt-3"> |
<div class="container"> |
||||
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4"> |
<div class="row"> |
||||
<div class="text-center p-4"> |
<div class="col text-white">© 2022 {{ .Site.Title }}</div> |
||||
© 2022 |
<div class="col"><a href="/imprint">Imprint</a></div> |
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4"> |
|
||||
<div class="text-center p-4"> |
|
||||
{{ .Site.Title }} |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4"> |
|
||||
<div class="text-center p-4"> |
|
||||
<a href="/imprint">Imprint</a> |
|
||||
</div> |
|
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
</footer> |
</footer> |
||||
|
|
||||
|
{{ $js := "js/bootstrap.bundle.min.js" | relURL }} |
||||
|
<script type="text/javascript" src="{{ $js }}"></script> |
||||
|
|
||||
|
@ -1,7 +1,18 @@ |
|||||
<div id="nav-border" class="container"> |
<header> |
||||
<nav id="nav" class="nav justify-content-center"> |
<nav id="nav" class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark"> |
||||
|
<div class="container-fluid"> |
||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"> |
||||
|
<span class="navbar-toggler-icon"></span> |
||||
|
</button> |
||||
|
<div class="collapse navbar-collapse justify-content-md-center" id="navbarTogglerDemo01"> |
||||
|
<ul class="navbar-nav mr-auto mt-2 mt-lg-0"> |
||||
{{ range .Site.Menus.main }} |
{{ range .Site.Menus.main }} |
||||
|
<li class="nav-item"> |
||||
<a class="nav-link" href="{{ .URL }}">{{ .Name }}</a> |
<a class="nav-link" href="{{ .URL }}">{{ .Name }}</a> |
||||
|
</li> |
||||
{{ end }} |
{{ end }} |
||||
</nav> |
</ul> |
||||
|
</div> |
||||
</div> |
</div> |
||||
|
</nav> |
||||
|
</header> |
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue