mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 16:15:12 +00:00
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:
1 parent
0cc80f90ee
commit
1990134455
1 file changed
+2
-2
@@ -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>
|
||||
Reference in new issue
Block a user