blog.negative9.net/templates/author.jade

9 lines
209 B
Plaintext
Raw Normal View History

2018-03-11 11:15:42 +00:00
mixin author(authorName)
- var author = contents.authors[authorName + '.json'];
span.author
if author
a(href='mailto:' + author.metadata.email)= author.metadata.name
else
= authorName