feat(webmentions): add webmentions support templates

- create webmentions partial template for page head integration
- add webmentions shortcode template to position webmentions on the page
This commit is contained in:
Jeremiah Russell 2025-02-10 17:47:56 +00:00
parent 05d042d27a
commit 84f3301f1c
No known key found for this signature in database
GPG key ID: E576B835ACE207E5
2 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{%- set format = config.extra.webmentions.format | default(value="") -%}
{% if format == "" %}
{%- set dash = "" -%}
{% else %}
{%- set dash = "-" -%}
{% endif %}
<div class="webmentions-container" id="webmentions{{ dash}}{{ format }}">hello</div>