aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emails/common/mixins.pug
blob: 8312118643d0f8426076fb2bacb3d62f992314a1 (plain) (blame)
1
2
3
4
5
6
7
mixin channel(channel)
  - var handle = `${channel.name}@${channel.host}`
  | #[a(href=`${WEBSERVER.URL}/video-channels/${handle}` title=handle) #{channel.displayName}]

mixin account(account)
  - var handle = `${account.name}@${account.host}`
  | #[a(href=`${WEBSERVER.URL}/accounts/${handle}` title=handle) #{account.displayName}]