mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
💄 style(webmentions): remove extra spaces and format script tag
- remove unnecessary spaces and adjust indentation for consistency
- format script tag to improve readability
✨ feat(webmentions): add greeting text to webmentions container
- include "hello" text within the webmentions container for initial display
This commit is contained in:
parent
d3d5e2439e
commit
c190f4001d
1 changed files with 12 additions and 16 deletions
|
@ -45,11 +45,7 @@
|
||||||
{% set script_data = script_data ~ " data-comments-are-reactions=" ~ config.extra.webmentions.comments_are_reactions %}
|
{% set script_data = script_data ~ " data-comments-are-reactions=" ~ config.extra.webmentions.comments_are_reactions %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script
|
<script async src="{{ get_url(path='js/webmention.min.js', trailing_slash=false) | safe }}" {{ script_data }}>
|
||||||
async
|
|
||||||
src="{{ get_url(path='js/webmention.min.js', trailing_slash=false) | safe }}"
|
|
||||||
{{ script_data }}
|
|
||||||
>
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{%- set format = config.extra.webmentions.format | default(value="") -%}
|
{%- set format = config.extra.webmentions.format | default(value="") -%}
|
||||||
|
@ -59,4 +55,4 @@
|
||||||
{%- set dash = "-" -%}
|
{%- set dash = "-" -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="webmentions-container" id="webmentions{{ dash}}{{ format }}"></div>
|
<div class="webmentions-container" id="webmentions{{ dash}}{{ format }}">hello</div>
|
Loading…
Add table
Add a link
Reference in a new issue