yarmo.eu/views/projects_details.pug
2020-09-25 00:51:24 +02:00

33 lines
950 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
header
nav
a(href="/about") about me
| >
a(href="/projects") projects
| > !{$project['slug']}
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.