extract site-title to layout #137
This commit is contained in:
parent
0a9b5ae9bb
commit
a1a83ea1de
@ -1,7 +1,5 @@
|
||||
<div class="header-top">
|
||||
<h1 class="site-title">
|
||||
<a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a>
|
||||
</h1>
|
||||
{{ partial "site-title.html" . }}
|
||||
{{ partial "social.html" . }}
|
||||
</div>
|
||||
{{ if .Site.Menus.main }}
|
||||
|
3
layouts/partials/site-title.html
Normal file
3
layouts/partials/site-title.html
Normal file
@ -0,0 +1,3 @@
|
||||
<h1 class="site-title">
|
||||
<a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a>
|
||||
</h1>
|
Loading…
Reference in New Issue
Block a user