mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
✨ 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:
parent
05d042d27a
commit
84f3301f1c
2 changed files with 78 additions and 0 deletions
8
templates/shortcodes/webmentions.html
Normal file
8
templates/shortcodes/webmentions.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue