diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2019-03-18 03:30:40 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2019-03-18 03:30:40 +0300 |
commit | 156cd04a7af6380de0bcad30c62815e4cb173baf (patch) | |
tree | 2a8e5ad4ed243ba058df5d494c1fe1947e282294 | |
parent | 7b8d9f6a00d7ae164044f85a8d858490dae26394 (diff) |
Fix wrong image URLs
-rw-r--r-- | layouts/shortcodes/img.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 62d2b6a..f2852ef 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,6 +1,6 @@ <figure> - <a href=/images/{{ index .Params 0 }} target="_blank"> - <img src=/images/{{ index .Params 0 }}> + <a href={{ .Page.Site.BaseURL }}/images/{{ index .Params 0 }} target="_blank"> + <img src={{ .Page.Site.BaseURL }}/images/{{ index .Params 0 }}> </a> <figcaption> <h4> |