Footer + fixing bugs
This commit is contained in:
parent
ea539cdf36
commit
45e0d5fca3
13 changed files with 147 additions and 23 deletions
|
@ -3,7 +3,7 @@
|
|||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content" class="center">
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<footer>
|
||||
<br><br>
|
||||
<div class="columns-container">
|
||||
<div class="col3 footer-social-list">
|
||||
|
||||
|
||||
{{ 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>
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue