mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
updated QTip
This commit is contained in:
parent
9356e79e1a
commit
458a6ced12
11 changed files with 428 additions and 4 deletions
|
|
@ -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>
|
||||
8
templates/macros/image.html
Normal file
8
templates/macros/image.html
Normal 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 %}
|
||||
6
templates/shortcodes/image.html
Normal file
6
templates/shortcodes/image.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue