owncast/static/metadata.html
2020-07-05 23:49:48 -07:00

58 lines
No EOL
1.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{.Config.Title}}</title>
<meta name="description" content="{{.Config.Summary}}">
<meta property="og:title" content="{{.Config.Title}}">
<meta property="og:site_name" content="{{.Config.Title}}">
<meta property="og:url" content="{{.RequestedURL}}">
<meta property="og:description" content="{{.Config.Summary}}">
<meta property="og:type" content="video.other">
<meta property="video:tag" content="{{.TagsString}}">
<meta property="og:image" content="{{.Image}}">
<meta property="og:image:url" content="{{.Image}}">
<meta property="og:image:alt" content="{{.Thumbnail}}">
<meta property="og:video" content='{{.RequestedURL}}hls/stream.m3u8' />
<meta property="og:video:height" content="640" />
<meta property="og:video:width" content="385" />
<meta property="og:video:type" content="application/x-mpegURL" />
<meta property="og:video:actor" content="{{.Config.Name}}" />
<meta property="twitter:title" content="{{.Config.Title}}">
<meta property="twitter:url" content="{{.RequestedURL}}">
<meta property="twitter:description" content="{{.Config.Summary}}">
<meta property="twitter:image" content="{{.Image}}">
</head>
<body>
<h1>{{.Config.Title}}</h1>
<h2>{{.Config.Name}}</h2>
<center>
<img src="{{.Thumbnail}}" width=10% />
</center>
<h3>{{.Config.Summary}}</h3>
{{range .Config.Tags}}
<li>{{.}}</li>
{{end}}
<br/>
<h3>Connect with {{.Config.Name}} elsewhere by visiting:</h3>
{{range .Config.SocialHandles}}
<li><a href="{{.URL}}">{{.Platform}}</a></li>
{{end}}
</body>
</html>