diff options
author | Victoria <hello@victoria.dev> | 2019-03-19 19:18:35 +0300 |
---|---|---|
committer | Victoria <hello@victoria.dev> | 2019-03-19 19:18:35 +0300 |
commit | d5ca02fc2b48f05b58897c91d27fb6ffced3e814 (patch) | |
tree | c2986f0b7b33a1c8040a97dba7a91cd4978ab876 /layouts | |
parent | bff4cceeb39a8cee5448c5ef0dd31608ffad470f (diff) |
Replace second instance of hardcoded path
Diffstat (limited to 'layouts')
-rwxr-xr-x | layouts/gallery/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/gallery/list.html b/layouts/gallery/list.html index da45383..0057423 100755 --- a/layouts/gallery/list.html +++ b/layouts/gallery/list.html @@ -37,7 +37,7 @@ {{ else }} <div class="grid"> {{ $name := .Site.Params.galleryFolder | default "images/"}} - {{ $path := "gallery/" }} + {{ $path := .File.Dir }} {{ $content := "/content/" }} {{ $src := (print $path $name) }} |