fix: add author name to profile page title

Author name now appears in browser tab when visiting an author's profile page.
This commit is contained in:
George Cushen committed 2019-12-30 00:59:34 +00:00
1 parent 0cc80f90ee
commit 1990134455
1 file changed
+2 -2
+2 -2
View File
@@ -175,7 +175,7 @@
{{ end }}
<meta property="og:site_name" content="{{ site.Title }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:title" content="{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}">
<meta property="og:title" content="{{ if not .IsHome }}{{ .Params.name | default .Title }} | {{ end }}{{ site.Title }}">
<meta property="og:description" content="{{ $desc }}">
{{- with $og_image -}}
<meta property="og:image" content="{{.}}">
@@ -199,6 +199,6 @@
{{ partial "custom_head" . }}
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
<title>{{ if not .IsHome }}{{ .Params.name | default .Title }} | {{ end }}{{ site.Title }}</title>
</head>