-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace relative links with absolute ones in meta tags
- Loading branch information
1 parent
7eb34ec
commit 3b579a9
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
{{ template "_internal/google_analytics.html" . }} | ||
<meta name="description" content="{{ if .Params.summary }}{{ .Params.summary }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ else }}Hardcoded description; the author should update :){{ end }}" /> | ||
<meta name="description" content="{{ if .Params.Description }}{{ .Params.Description }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ else }}Hardcoded description; the author should update :){{ end }}" /> | ||
<meta name="keywords" content="{{ if .Params.Tags }}{{ .Params.Tags }}{{ else if .Site.Params.Keywords }}{{ .Site.Params.Keywords }}{{ else }}learning,improvement{{ end }}" /> | ||
<meta name="robots" content="nofollow" /> | ||
|
||
{{ if eq .Site.Params.openGraph true }} | ||
{{ if .Params.Title }}<meta property="og:title" content="SD Development: {{ .Params.Title }}">{{ end }} | ||
{{ if .Params.Description }}<meta property="og:description" content="{{ .Params.Description}}" />{{ end }} | ||
{{ if .Params.Image }}<meta property="og:image" content="/images/{{ .Params.Image }}" />{{ end }} | ||
{{ end }} | ||
{{ if .Params.Title }}<meta property="og:title" content="SD Development: {{ .Params.Title }}">{{ end }} | ||
{{ if .Params.Description }}<meta property="og:description" content="{{ .Params.Description}}" />{{ end }} | ||
{{ if .Params.Image }}<meta property="og:image" content="{{ .Site.BaseURL }}/images/{{ .Params.Image }}" />{{ end }} | ||
|
||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |