mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
♻️ 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:
parent
9fe3bcc487
commit
c788fb9ed8
2 changed files with 8 additions and 8 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue