PeerTube/server/core/assets/email-templates/common/mixins.pug

8 lines
333 B
Plaintext
Raw Normal View History

mixin channel(channel)
- var handle = `${channel.name}@${channel.host}`
2020-07-01 16:05:30 +02: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}]