blob: 5c60d2798721949f8dac562d8c50e8a01f0ee26e (
plain)
1
2
3
4
5
6
7
|
{{ $path := .Get "src" }}
{{ $caption := .Get "title" }}
<div class="fancybox">
<a data-fancybox="gallery" href="{{ $path | absURL }}" data-caption="{{ $caption }}">
<img src="{{ $path | absURL }}" />
</a>
</div>
|