Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kritoke/darksimplicity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew <3081486+kritoke@users.noreply.github.com>2019-08-25 17:00:09 +0300
committerMatthew <3081486+kritoke@users.noreply.github.com>2019-08-25 17:00:09 +0300
commitda0eeba270916dd0bef12c87d052437de81dab30 (patch)
tree2919f05c940a43519d85155f42755818418ae50e
parent64bc56598e69429d37bc5d2f5909166e61d4251c (diff)
Fix some depr functions, title name.
-rw-r--r--layouts/partials/header.html6
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 }} &middot; {{ end }} {{ .Site.Title }}" />
+ <meta property="og:title" content="{{ if not .IsHome }} {{ .Title }} &middot; {{ 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 }} &middot; {{ end }} {{ .Site.Title }}</title>
<link rel="stylesheet" href="{{ "/css/style.min.css" | relURL }}">
</head>