Added basic email renderer

This commit is contained in:
2019-08-16 14:27:45 +09:00
parent 373b34177d
commit 2a1d4ea479
9 changed files with 90 additions and 25 deletions

10
mixins/Email.pixy Normal file
View File

@ -0,0 +1,10 @@
component NotificationEmail(notification *arn.Notification)
h2= notification.Message
p
img(src=notification.Icon, alt="Icon", style="width:125px; height:125px; object-fit: cover;")
p= notification.Message
if notification.Link != ""
a(href=notification.Link, target="_blank") View it on Anime Notifier