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 }}
|
{{ 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 }}
|
{{ end }}{{ end }}
|
||||||
|
|
||||||
{{ if ne .page .current }}
|
{{ 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">
|
<div class="d-none d-lg-block">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
{{ range .Site.Data.social.navbar_accounts }}
|
{{ range .Site.Data.social.navbar_accounts }}
|
||||||
{{ $account := index $.Site.Data.social.accounts . }}
|
{{ $account := index $.Site.Data.social.accounts . }}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ $account.link }}">
|
<a class="nav-link" href="{{ $account.link }}">
|
||||||
<i class="{{ $account.icon }}" title="{{ $account.name }}"></i>
|
<i class="{{ $account.icon }}" title="{{ $account.name }}"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue