chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b021b3c
)
m.images: use <figcaption> instead of <div> for image grid caption.
author
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 11 Sep 2017 11:24:13 +0000
(13:24 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Tue, 12 Sep 2017 10:06:26 +0000
(12:06 +0200)
pelican-plugins/m/images.py
patch
|
blob
|
history
diff --git
a/pelican-plugins/m/images.py
b/pelican-plugins/m/images.py
index 5e7f76421038eafc5de1f53afff40494bba5b7f5..b5cf23a4b42defaedf0deaa93d52c5c8c50b0bbf 100644
(file)
--- a/
pelican-plugins/m/images.py
+++ b/
pelican-plugins/m/images.py
@@
-98,7
+98,7
@@
class ImageGrid(rst.Directive):
image_node = nodes.image('', uri=image_reference)
text_nodes, _ = self.state.inline_text(image[3], self.lineno)
text_node = nodes.paragraph('', '', *text_nodes)
- overlay_node = nodes.c
ontainer
()
+ overlay_node = nodes.c
aption
()
overlay_node.append(text_node)
link_node = nodes.reference('', refuri=image_reference)
link_node.append(image_node)