PeerTube/server/lib/emails/common/mixins.pug

3 lines
168 B
Plaintext

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