extract site-title to layout #137

This commit is contained in:
Dmitry Kolosov 2022-02-12 10:19:24 +03:00
parent 0a9b5ae9bb
commit a1a83ea1de
2 changed files with 4 additions and 3 deletions

View File

@ -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 }}

View File

@ -0,0 +1,3 @@
<h1 class="site-title">
<a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a>
</h1>