diff options
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/head.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c8cbb2e..d9b87f8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,7 +11,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no"> - <base href="{{ .Site.BaseURL }}"> + <base href="{{ "/" | absURL }}"> <link rel="canonical" href="{{ .Permalink }}"> <title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }}</title> @@ -30,7 +30,8 @@ <!-- Open Graph metadata --> <meta property="og:title" content="{{ .Title }}"> <meta property="og:url" content="{{ .Permalink }}"> - <meta property="og:image" content="{{ .Site.BaseURL | safeURL }}{{ "img/open-graph-logo.png" }}"> + {{/* TODO: Check for reatured image */ -}} + <meta property="og:image" content="{{ "img/open-graph-logo.png" | absURL }}"> <meta property="og:image:width" content="200"> <meta property="og:image:height" content="200"> {{- /* TODO: add fb:admins and fb:app_id */ -}} |
