Cleanup partials
This commit is contained in:
parent
c822104486
commit
5a4882634f
3 changed files with 8 additions and 8 deletions
|
@ -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 }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
© {{ now.Year }} <a href='{{ absURL "" }}'>{{ .Site.Title }}</a>.
|
||||
© {{ now.Year }} <a href='{{ relURL "" }}'>{{ .Site.Title }}</a>.
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue