♻️ refactor(webmentions): consolidate webmentions template

- move webmentions logic from shortcodes to partials for centralized management
- remove redundant webmentions shortcode file to eliminate duplication
This commit is contained in:
Jeremiah Russell 2025-04-30 12:00:04 +01:00
parent 9fe3bcc487
commit c788fb9ed8
No known key found for this signature in database
GPG key ID: E576B835ACE207E5
2 changed files with 8 additions and 8 deletions

View file

@ -52,3 +52,11 @@
>
</script>
{%- 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>

View file

@ -1,8 +0,0 @@
{%- 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>