Cleaned page structure

This commit is contained in:
kolaente 2018-10-13 22:04:33 +02:00
parent 29af34ad60
commit 3007d4b631
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 10 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<div class="has-text-centered">
<p>
Copyright &copy; {{ now.Year }} <a href="{{ .Site.Params.website }}">{{ .Site.Params.author }}</a>. All rights reserved. Made with <i class="fa fa-heart" aria-hidden="true"></i> and <a href="https://gohugo.io">Hugo</a>.
</p>

View File

@ -12,7 +12,14 @@
</div>
<div class="navbar-menu" id="navMenu">
<div class="navbar-end">
{{ partial "toplinks.html" . }}
<span class="navbar-item logo">
<img src="{{ .Site.BaseURL }}images/vikunja-logo.svg" alt="{{ .Site.Title }}">
</span>
{{ $currentNode := . }}{{ range .Site.Menus.page }}
<a class="navbar-item" href="{{ .URL }}">
{{ .Name }}
</a>
{{ end }}
</div>
</div>
<div class="navbar-background" id="navbar-background"></div>

View File

@ -1,7 +0,0 @@
<span class="navbar-item logo"><img src="{{ .Site.BaseURL }}images/vikunja-logo.svg" alt="{{ .Site.Title }}"></span>
{{ $currentNode := . }}{{ range .Site.Menus.page }}
<a class="navbar-item" href="{{ .URL }}">
<i class="fa fa-{{ .Pre }}"></i>&nbsp;
{{ .Name }}
</a>
{{ end }}

View File

@ -11,11 +11,7 @@
<p>
<i>{{ .Date.Format "Mon Jan 2, 2006" }}</i>
{{ i18n "authored_by" }}
<b>
<a href="https://github.com/{{ .Params.author | default .Site.Params.author }}">
{{ .Params.author | default .Site.Params.author }}
</a>
</b>
<b>{{ .Params.author | default .Site.Params.author }}</b>
</p>
{{ .Content }}
</div>