blob: ca95ccebebcbe0716dd6b7b53cb1204338d9d8ac (
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>
|