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

github.com/eddiewebb/hugo-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 78f88b8..55e466f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -3,11 +3,11 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>{{ .Title }}</title>
- <meta property="og:title" content="{{ .Title }}" />
+ <title>{{ .Site.Title }} | {{ .Title }}</title>
+ <meta property="og:title" content="{{ .Site.Title }} | {{ .Title }}" />
<meta property="og:image" content="{{ .Site.Params.profileImage | absURL }}" />
- <meta name="description" content="{{ .Site.Params.description }}">
- <meta property="og:description" content="{{ .Site.Params.description }}" />
+ <meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Description }}{{ end }}">
+ <meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Description }}{{ end }}" />
<meta name="author" content="{{ .Site.Params.firstName }} {{ .Site.Params.lastName }}">
<!-- Bootstrap core CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">