mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-05 03:27: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 }}" />
|
<link rel="apple-touch-icon" href="{{ . | absURL }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .IsHome }}
|
<title>{{ .Render "head_title" }}</title>
|
||||||
<title>{{ .Site.Title | plainify }}</title>
|
|
||||||
{{ else }}
|
|
||||||
<title>{{ (print .Title " | " .Site.Title) | plainify }}</title>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ partial "seo-tags/opengraph.html" . }}
|
{{ partial "seo-tags/opengraph.html" . }}
|
||||||
{{ partial "seo-tags/twitter-cards.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