diff options
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9595d8f..bdba991 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,15 +3,15 @@ <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" /> + <meta property="og:title" content="{{ if not .IsHome }} {{ .Title }} · {{ end }} {{ .Site.Title }}" /> <meta property="og:site_name" content="{{ .Site.Title }}" /> <meta property="og:url" content="{{ .Permalink }}" /> <meta name="theme" content="darksimplicity"> - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }} {{ with .Site.Params.role }}<meta name="description" content="{{ . }}">{{ end }} <base href="{{ .Site.BaseURL }}"> - <title>{{ .Title }}</title> + <title>{{ if not .IsHome }} {{ .Title }} · {{ end }} {{ .Site.Title }}</title> <link rel="stylesheet" href="{{ "/css/style.min.css" | relURL }}"> </head> |