1
0
Fork 0
peertube/server/lib/emails/common/mixins.pug

8 lines
333 B
Text
Raw Normal View History

mixin channel(channel)
- var handle = `${channel.name}@${channel.host}`
2020-07-01 10:05:30 -04:00
| #[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}]