summaryrefslogtreecommitdiff
path: root/src/server/web/views/channel.pug
blob: 273632f0e0d97ff685ee9c1f09ef31a5abc9173b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
extends ./base

block vars
	- const title = channel.name;
	- const url = `${config.url}/channels/${channel.id}`;

block title
	= `${title} | ${instanceName}`

block desc
	meta(name='description' content= channel.description)

block og
	meta(property='og:type'        content='article')
	meta(property='og:title'       content= title)
	meta(property='og:description' content= channel.description)
	meta(property='og:url'         content= url)
	meta(property='og:image'       content= channel.bannerUrl)

block meta
	meta(name='twitter:card' content='summary')