Skip to content

Commit

Permalink
merge preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Sep 21, 2015
1 parent 47a2797 commit 0033bb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@
* `yarko <https://github.com/yarko>`_
* `小明 <https://github.com/dongweiming>`_
* `Brad Miller <https://github.com/bnmnetp>`_
* `Florian Finkernagel <https://github.com/TyberiusPrime>`_
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Bugfixes
--------

* /robots.txt was never being built (Issue #2098)
* SVG thumbnails (Issue #2094)

New in v7.7.1
=============
Expand Down
4 changes: 2 additions & 2 deletions nikola/plugins/compile/rest/thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def run(self):
uri = directives.uri(self.arguments[0])
if uri.endswith('.svg'):
# the ? at the end makes docutil output an <img> instead of an object for the svg, which colorbox requires
self.arguments[0] = '.thumbnail'.join(os.path.splitext(uri)) + '?'
self.arguments[0] = '.thumbnail'.join(os.path.splitext(uri)) + '?'
else:
self.arguments[0] = '.thumbnail'.join(os.path.splitext(uri))
self.arguments[0] = '.thumbnail'.join(os.path.splitext(uri))
self.options['target'] = uri
if self.content:
(node,) = Figure.run(self)
Expand Down

0 comments on commit 0033bb3

Please sign in to comment.