diff options
author | Matthew <3081486+kritoke@users.noreply.github.com> | 2019-08-25 17:00:09 +0300 |
---|---|---|
committer | Matthew <3081486+kritoke@users.noreply.github.com> | 2019-08-25 17:00:09 +0300 |
commit | da0eeba270916dd0bef12c87d052437de81dab30 (patch) | |
tree | 2919f05c940a43519d85155f42755818418ae50e | |
parent | 64bc56598e69429d37bc5d2f5909166e61d4251c (diff) |
Fix some depr functions, title name.
-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> |