Reorganize partials
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
29
layouts/partials/components/head/index.html
Normal file
29
layouts/partials/components/head/index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
<title>
|
||||
{{- if .IsHome -}}
|
||||
{{ .Site.Title }}
|
||||
{{- else -}}
|
||||
{{ .Site.Title }} ·
|
||||
{{ .Title }}
|
||||
{{- end -}}
|
||||
</title>
|
||||
|
||||
{{ with .Site.Params.description }}
|
||||
<meta name="description" content="{{- . -}}" />
|
||||
{{ end }}
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
{{ partial "components/head/bots.html" . }}
|
||||
{{ partial "components/head/rss.html" . }}
|
||||
|
||||
{{ partial "components/head/opengraph.html" . }}
|
||||
{{ partial "components/head/twitter.html" . }}
|
||||
|
||||
{{ partial "components/head/js.html" . }}
|
||||
{{ partial "components/head/css.html" . }}
|
||||
</head>
|
Reference in New Issue
Block a user