forked from deepStateMirrors/tabi
🚸 feat: add JavaScript notice for comments
This commit is contained in:
parent
a201c05823
commit
09e5bc1aa3
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,8 @@
|
||||||
<button id="load-comments" class="load-comments-button" data-script-src="{{ get_url(path='js/' ~ comment_system ~ '.min.js', trailing_slash=false) | safe }}">{%- if lang != config.default_language %} {{ trans(key="load_comments" | safe, lang=lang) }}{% else %} Load comments {%- endif -%}</button>
|
<button id="load-comments" class="load-comments-button" data-script-src="{{ get_url(path='js/' ~ comment_system ~ '.min.js', trailing_slash=false) | safe }}">{%- if lang != config.default_language %} {{ trans(key="load_comments" | safe, lang=lang) }}{% else %} Load comments {%- endif -%}</button>
|
||||||
<script src="{{ get_url(path='js/loadComments.min.js', trailing_slash=false) | safe }}" async></script>
|
<script src="{{ get_url(path='js/loadComments.min.js', trailing_slash=false) | safe }}" async></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<noscript>You need JavaScript to view the comments.</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{%- endmacro add_comments -%}
|
{%- endmacro add_comments -%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue