diff options
author | Kevin Brotcke <brotcke@gmail.com> | 2016-11-19 23:36:14 -0800 |
---|---|---|
committer | Kevin Brotcke <brotcke@gmail.com> | 2016-11-19 23:36:14 -0800 |
commit | f7fc22f8d44ac5f4ecfa722f24ce1810a06b9554 (patch) | |
tree | 159c08991a00f766ce9ad052b236741eaa31b6dc /pelican-bootstrap3/templates | |
parent | 993211cbda11ede17e3206e208490124d8f02a43 (diff) | |
download | pelican-themes-f7fc22f8d44ac5f4ecfa722f24ce1810a06b9554.tar.gz |
Fix avatar source URL for subpages in pelican-bootstrap3
When going to a subpage, such as a category page, my avatar image was not
being displayed when using the suggested format 'images/profile.png' from
the readme. The URL turned into 'category/images/profile.png' which doesn't
exist.
Include the site URL so that the image appears on all pages. This looked
like the convention used in other places like favicon.
Diffstat (limited to 'pelican-bootstrap3/templates')
-rw-r--r-- | pelican-bootstrap3/templates/includes/aboutme.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/includes/aboutme.html b/pelican-bootstrap3/templates/includes/aboutme.html index f38f0bc..2191413 100644 --- a/pelican-bootstrap3/templates/includes/aboutme.html +++ b/pelican-bootstrap3/templates/includes/aboutme.html @@ -1,7 +1,7 @@ <div id="aboutme"> {% if AVATAR %} <p> - <img width="100%" class="img-thumbnail" src="{{ AVATAR }}"/> + <img width="100%" class="img-thumbnail" src="{{ SITEURL }}/{{ AVATAR }}"/> </p> {% endif %} <p> |