Footer + fixing bugs

This commit is contained in:
Adsooi 2021-06-08 18:18:22 +02:00
parent ea539cdf36
commit 45e0d5fca3
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
13 changed files with 147 additions and 23 deletions

View file

@ -0,0 +1,22 @@
<footer>
<br><br>
<div class="columns-container">
<div class="col3 footer-social-list">
&nbsp;
&nbsp;
{{ range .Site.Menus.social }}
<a role="button" alt="{{ .Name }}" href={{ .URL }}>
{{ .Pre }}
</a>
{{ end }}
</div>
<div class="text-center col3">
{{ .Site.Copyright }}
</div>
<div class="col3 right-center">
{{ .Site.Params.usingTheme }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a><br>
{{ .Site.Params.poweredBy }} <a href="https://gohugo.io">Hugo</a>
</div>
</div>
<br>
</footer>

View file

@ -1,7 +1,10 @@
<head>
<title>{{ .Site.Title }} - {{ .Params.title }}</title>
<title>{{ .Site.Title }} - {{ .Title }}</title>
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/header.css">
<link rel="stylesheet" href="/css/footer.css">
<link rel="stylesheet" href="/css/font.css">
{{ hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="/js/header.js"></script>
</head>

View file

@ -2,9 +2,9 @@
<div class="center nav-flex">
{{ $currentPage := . }}
<div class="nav-mobile">
<a class="navbar-brand" href="//ad5001.eu">
<a class="navbar-brand" href="{{ .Site.Params.brandWebsite }}" role="button">
<img src="/img/icon.png" class="icon-brand" alt=""></img>
{{ .Site.Title }}
Ad5001
</a>
<button id="navbar-toggler">
@ -16,7 +16,7 @@
<ul class="navbar-list">
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<a href="#">
<a href="#" role="button">
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
{{ .Pre }}
<span>{{ .Name }}</span>
@ -24,7 +24,7 @@
</a>
<ul class="sub-menu">
{{ range .Children }}
<a href="{{ .URL }}">
<a href="{{ .URL }}" role="button">
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
{{ .Name }}
</li>
@ -32,7 +32,7 @@
{{ end }}
</ul>
{{ else }}
<a href="{{ .URL }}">
<a href="{{ .URL }}" role="button">
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
{{ .Pre }}
<span>{{ .Name }}</span>