mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-04 19:17:33 -05:00
Use content view to customize <title> on author's page
This commit is contained in:
@ -24,11 +24,7 @@
|
||||
<link rel="apple-touch-icon" href="{{ . | absURL }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .IsHome }}
|
||||
<title>{{ .Site.Title | plainify }}</title>
|
||||
{{ else }}
|
||||
<title>{{ (print .Title " | " .Site.Title) | plainify }}</title>
|
||||
{{ end }}
|
||||
<title>{{ .Render "head_title" }}</title>
|
||||
|
||||
{{ partial "seo-tags/opengraph.html" . }}
|
||||
{{ partial "seo-tags/twitter-cards.html" . }}
|
||||
|
1
layouts/authors/term.head_title.html
Normal file
1
layouts/authors/term.head_title.html
Normal file
@ -0,0 +1 @@
|
||||
{{ (print .Title "'s Posts | " .Site.Title) | plainify }}
|
1
layouts/head_title.html
Normal file
1
layouts/head_title.html
Normal file
@ -0,0 +1 @@
|
||||
{{ (print .Title " | " .Site.Title) | plainify }}
|
1
layouts/home.head_title.html
Normal file
1
layouts/home.head_title.html
Normal file
@ -0,0 +1 @@
|
||||
{{ .Site.Title | plainify }}
|
Reference in New Issue
Block a user