mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-25 00:04:52 +00:00
fix: Bad UI due to head.html (#284)
This commit is contained in:
parent
bde44fadf2
commit
10e41743e5
@ -1,7 +1,6 @@
|
||||
<!-- set data/config yaml file based on website language -->
|
||||
{{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }}
|
||||
{{ $data := index $.Site.Data $config }}
|
||||
{{.Site.BaseURL}}icon.png
|
||||
<head>
|
||||
<!-- Meta tags -->
|
||||
<meta charset="UTF-8" />
|
||||
@ -10,6 +9,7 @@
|
||||
content="{{if .IsHome}}{{$data.description | default $.Site.Data.config.description}}{{else}}{{.Summary}}{{end}}"
|
||||
/>
|
||||
<meta property="og:title" content="{{ .Title }}">
|
||||
<meta property="og:description" content="{{if .IsHome}}{{$data.description | default $.Site.Data.config.description}}{{else}}{{.Summary}}{{end}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="{{.Site.BaseURL}}icon.png">
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
|
Loading…
Reference in New Issue
Block a user