Skip to content

Commit

Permalink
Fix #2416 -- fix gallery links in base theme
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 30, 2016
1 parent fee0892 commit 9fe05b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Fix gallery links in base theme (Issue #2416)
* Respect ``DEPLOY_DRAFTS`` and ``DEPLOY_FUTURE`` in ``github_deploy``
(Issue #2406)
* Don’t remove ``<!DOCTYPE html>`` if typogrify filters are in use
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/gallery.tmpl
Expand Up @@ -17,7 +17,7 @@
{% if folders %}
<ul>
{% for folder, ftitle in folders %}
<li><a href="{{ folder|urlencode }}"><i
<li><a href="{{ folder }}"><i
class="icon-folder-open"></i>&nbsp;{{ ftitle|e }}</a></li>
{% endfor %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/gallery.tmpl
Expand Up @@ -17,7 +17,7 @@
%if folders:
<ul>
% for folder, ftitle in folders:
<li><a href="${folder|u}"><i
<li><a href="${folder}"><i
class="icon-folder-open"></i>&nbsp;${ftitle|h}</a></li>
% endfor
</ul>
Expand Down

0 comments on commit 9fe05b2

Please sign in to comment.