Startet to add some content
This commit is contained in:
commit
285d5e2147
160 changed files with 4419 additions and 0 deletions
8
templates/shortcodes/lightbox.html
Normal file
8
templates/shortcodes/lightbox.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{% set meta = get_image_metadata(path=image) %}
|
||||
<a href="{{ get_url(path=image) }}"
|
||||
class="lightbox"
|
||||
data-pswp-width="{{ meta.width }}"
|
||||
data-pswp-height="{{ meta.height }}"
|
||||
target="_blank">
|
||||
<img src="{{ get_url(path=image) }}" alt="{{alt}}" title="{{alt}}" />
|
||||
</a>
|
||||
Loading…
Add table
Add a link
Reference in a new issue