tricks
This commit is contained in:
1 parent
5a1ae7f842
commit
ebab37fc00
3 files changed
+27
-18
No files matched your search
@@ -1,5 +1,4 @@
|
||||
{% macro magic_link(url, text, unique_id='magic_link') %}
|
||||
{# Example Macro #}
|
||||
{% macro magic_link(url, text, unique_id='magic_link') %} {# Example Macro #}
|
||||
<a
|
||||
href="{{ url }}"
|
||||
target="_blank"
|
||||
@@ -24,13 +23,15 @@
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
{% endmacro %} {% macro qrcode_queue(queue_items) %} {% if queue_items %}
|
||||
{% endmacro %} {% macro qrcode_queue(queue_items, qr_limit = 100) %} {% if
|
||||
queue_items %}
|
||||
<ol class="queue-grid">
|
||||
{% for item in queue_items %}
|
||||
<li>
|
||||
<a href="{{ item }}" target="_blank" rel="noreferrer noopener">
|
||||
{{ item }}
|
||||
{{ item }} {% if not loop.index > qr_limit %}
|
||||
<div class="qrcode"></div>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user