mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
layouts/head : fix duplicate title
title - title
This commit is contained in:
parent
3bda73bdc2
commit
741fc9d220
@ -2,7 +2,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
<title>{{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} - {{ end }}{{end}}{{ .Site.Title }}</title>
|
||||||
<!-- Meta -->
|
<!-- Meta -->
|
||||||
{{- if eq .Kind "page" }}
|
{{- if eq .Kind "page" }}
|
||||||
<meta name="description" content="{{ .Summary }}">
|
<meta name="description" content="{{ .Summary }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user