yarmo.eu/views/projects_details.pug
2021-03-14 18:53:35 +01:00

28 lines
688 B
Plaintext

extends templates/main
mixin webmention($item)
p
a(href="{$item['source']}") !{$item['title']}
| by !{$item['author_name']} on !{$item['date']} at !{$item['time']}
block content
include partials/nav
main
article.longform
h1 !{$project['title']}
p
| Got an idea or a comment?
a(href="/contact") Feel free to contact me!
p.longform__header
.longform__content
| !{$project['content']}
.webmentions.subsection
h2 Webmentions
if ($project['hasWebmentions'])
each $item in $project["webmentions"]
+webmention($item)
else
p This project has not been mentioned yet.