diff --git a/_includes/components/post-interactions.njk b/_includes/components/post-interactions.njk new file mode 100644 index 0000000..487c02d --- /dev/null +++ b/_includes/components/post-interactions.njk @@ -0,0 +1,172 @@ +{# Post Interactions — inbound webmentions for this post, shown before comments #} +{# Hidden when no interactions. Styled like the /interactions page. #} +{% set absoluteUrl = site.url + page.url %} + +
+ +

+ Interactions + +

+ + {# Type filter pills #} +
+ + + + + +
+ + {# Interaction cards #} + +
+ + diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index ab999c6..cda9bc2 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -310,6 +310,9 @@ withBlogSidebar: true +{# Interactions — inbound webmentions for this post, hidden when none #} +{% include "components/post-interactions.njk" %} + {# Comments section #} {% include "components/comments.njk" %}