aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/emails/common/mixins.pug
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/emails/common/mixins.pug')
-rw-r--r--server/lib/emails/common/mixins.pug3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/emails/common/mixins.pug b/server/lib/emails/common/mixins.pug
new file mode 100644
index 000000000..76b805a24
--- /dev/null
+++ b/server/lib/emails/common/mixins.pug
@@ -0,0 +1,3 @@
1mixin channel(channel)
2 - var handle = `${channel.name}@${channel.host}`
3 | #[a(href=`${WEBSERVER.URL}/video-channels/${handle}` title=handle) #{channel.displayName}] \ No newline at end of file