updated QTip

This commit is contained in:
Parker TenBroeck 2026-01-18 19:11:54 -05:00
parent 9356e79e1a
commit 458a6ced12
11 changed files with 428 additions and 4 deletions

View file

@ -117,6 +117,7 @@
{%- endif -%}
</head>
<body data-theme="dark">
<div class="content">
<header class="header">
@ -137,6 +138,12 @@
{%- endfilter -%}{%- endfilter %}
</footer>
</div>
</body>
<div id="lightbox" class="lightbox" aria-hidden="true" role="dialog" aria-label="Image viewer">
<div class="lightbox__stage">
<img id="lightbox-img" class="lightbox__img" alt="">
</div>
</div>
</body>
<script src="{{ get_url(path='/js/script.js') }}"></script>
</html>

View file

@ -0,0 +1,8 @@
{% macro figure(src, caption="", class="") %}
<figure class="image {{ class }}">
<img src="{{ src }}" loading="lazy" decoding="async">
{% if caption != "" %}
<figcaption>{{ caption }}</figcaption>
{% endif %}
</figure>
{% endmacro %}

View file

@ -0,0 +1,6 @@
<figure class="image {% if class %} {{ class }} {% endif %}">
<img src="{{ get_url(path=src) }}" loading="lazy" decoding="async" class="zoomable" data-full="{{ get_url(path=src) }}">
{% if caption != "" %}
<figcaption>{{ caption }}</figcaption>
{% endif %}
</figure>