forked from ruangrupa/lumbung.space
ack + repos
This commit is contained in:
29
lumbung-theme/layouts/partials/head.html
Normal file
29
lumbung-theme/layouts/partials/head.html
Normal file
@ -0,0 +1,29 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ if .IsHome }} {{ .Site.Title }} {{ else }} {{ .Title }} | {{ .Site.Title }} {{ end }}</title>
|
||||
|
||||
{{- if or .Description .Site.Params.description }}
|
||||
<meta name="description" content="{{ .Description | default .Site.Params.description }}">
|
||||
{{- end }}
|
||||
{{- if or .Description .Site.Params.description }}
|
||||
<meta name="author" content='{{ .Site.Params.author }}'>
|
||||
{{- end }}
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/video-box.css">
|
||||
<link media="print" rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css">
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="icon" type="image/ico" href="{{ . | absURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
</head>
|
Reference in New Issue
Block a user