blog.negative9.net/templates/author.jade

9 lines
209 B
Plaintext

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