use partial for page title
This commit is contained in:
parent
8ac75f4104
commit
22da247332
12 changed files with 32 additions and 21 deletions
|
@ -18,14 +18,9 @@
|
|||
content="{{- block "head-description" . -}}{{- $.Site.Params.description | html -}}{{- end -}}"
|
||||
/>
|
||||
|
||||
<title itemprop="name">
|
||||
{{- block "title" . -}}
|
||||
{{- .Site.Title -}}
|
||||
{{- with .Site.Params.tagline -}}
|
||||
{{- printf " | %s" . -}}
|
||||
{{- end -}}
|
||||
{{- partialCached "head/title.html" ( slice .Site.Title .Site.Params.tagline ) .Site.Title .Site.Params.tagline -}}
|
||||
{{- end -}}
|
||||
</title>
|
||||
|
||||
<link
|
||||
rel="license"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue