1
Fork 0

Cleanup partials

This commit is contained in:
Jake Howard 2018-08-19 16:31:59 +01:00
parent c822104486
commit 5a4882634f
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{{ if .page.Parent }}{{ if not .page.Parent.IsHome }}
{{ partial "breadcrumbs/item.html" (dict "page" .page.Parent "current" .current) }}
{{ partial "breadcrumbs/item.html" (dict "page" .page.Parent "current" .current) }}
{{ end }}{{ end }}
{{ if ne .page .current }}

View file

@ -1 +1 @@
&copy; {{ now.Year }} <a href='{{ absURL "" }}'>{{ .Site.Title }}</a>.
&copy; {{ now.Year }} <a href='{{ relURL "" }}'>{{ .Site.Title }}</a>.

View file

@ -11,12 +11,12 @@
<div class="d-none d-lg-block">
<ul class="navbar-nav">
{{ range .Site.Data.social.navbar_accounts }}
{{ $account := index $.Site.Data.social.accounts . }}
<li class="nav-item">
<a class="nav-link" href="{{ $account.link }}">
<i class="{{ $account.icon }}" title="{{ $account.name }}"></i>
</a>
</li>
{{ $account := index $.Site.Data.social.accounts . }}
<li class="nav-item">
<a class="nav-link" href="{{ $account.link }}">
<i class="{{ $account.icon }}" title="{{ $account.name }}"></i>
</a>
</li>
{{ end }}
</ul>
</div>