diff options
author | imzeuk <imzeuk@gmail.com> | 2019-04-27 15:53:28 +0300 |
---|---|---|
committer | imzeuk <imzeuk@gmail.com> | 2019-04-27 15:53:28 +0300 |
commit | cecd171fac7e5f1a9da1969f0ab34a0518db18a9 (patch) | |
tree | 34a2389f33bd6e122eb559729e05330c1b9a9ee2 /layouts | |
parent | 121374541dda725615c817db3b455d092d3c8bfc (diff) |
update theme
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/img.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index c575cb9..5c60d27 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,7 +1,7 @@ {{ $path := .Get "src" }} -{{ $caption := .Get "caption" }} +{{ $caption := .Get "title" }} <div class="fancybox"> -<a data-fancybox="gallery" href="{{ $path }}" data-caption="{{ $caption }}"> - <img src="{{ $path }}"/> -</a> + <a data-fancybox="gallery" href="{{ $path | absURL }}" data-caption="{{ $caption }}"> + <img src="{{ $path | absURL }}" /> + </a> </div> |