freedom/layouts/partials/head.html

32 lines
1.5 KiB
HTML
Raw Normal View History

2022-08-22 20:03:48 -04:00
<title>{{ .Title}}</title>
2023-01-04 16:59:09 -05:00
<link rel="stylesheet" href="{{.Site.BaseURL}}/css/theme.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}/style.css">
2022-08-22 20:03:48 -04:00
<meta charset="utf-8" />
2022-09-21 15:54:30 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
2022-09-15 17:12:24 -04:00
<meta name="title" content="{{ .Site.Title }}">
2022-08-22 20:03:48 -04:00
<meta name="description" content="{{.Params.description}}">
<meta name="og:site_name" content="Libre Solutions Network">
<meta property="og:title" content="{{ .Title }}">
<meta property="og:description" content="{{.Params.description}}">
<meta property="og:url" content="{{.Permalink}}">
{{if .Params.video}}
<meta name="twitter:card" content="player"/>
2022-09-18 22:15:06 -04:00
<meta property="og:video" content="{{.Site.BaseURL}}/embed?v={{.Params.video}}">
<meta property="og:video:url" content="{{.Site.BaseURL}}/embed?v={{.Params.video}}">
<meta property="og:video:secure_url" content="{{.Site.BaseURL}}/embed?v={{.Params.video}}">
2022-08-22 20:03:48 -04:00
<meta property="og:type" content="video">
2022-09-18 16:21:16 -04:00
<link rel="alternate" type="application/rss+xml" href="{{.Site.BaseURL}}/index.xml">
2022-08-22 20:03:48 -04:00
{{else}}
{{if .Params.peertubeURL}}
<meta property="og:video" content="{{.Params.peertubeURL}}">
{{else}}
{{if .Params.audioURL}}
2023-01-04 16:59:09 -05:00
<meta property="og:audio" content="{{.Site.BaseURL}}{{.Params.audioURL}}">
2022-08-22 20:03:48 -04:00
<meta property="og:type" content="audio">
2023-01-04 16:59:09 -05:00
{{else}}<meta property="og:type" content="website">
{{end}}{{end}}{{end}}{{ if .Params.image }}
<meta property="og:image" content="{{.Site.BaseURL}}{{.Params.image}}">
{{else}}<meta property="og:image" content="{{.Site.BaseURL}}logo.webp">
2022-08-22 20:03:48 -04:00
{{end}}