mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 13:48:29 +00:00
Add meta description and author
This commit is contained in:
parent
6f16ca9422
commit
37414ab085
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
|
||||
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
|
||||
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
|
||||
|
|
Loading…
Reference in a new issue