diff options
author | Volpeon <git@volpeon.ink> | 2022-06-18 00:04:21 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-18 00:04:21 +0200 |
commit | 26c099aa807d8e67944f72be04a325f37da305d5 (patch) | |
tree | f7781f003b95979d6a2e1c39d9491c26589ec91a /filters | |
parent | Make some page elements wide (diff) | |
download | volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.tar.gz volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.tar.bz2 volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.zip |
Added page type for art pieces
Diffstat (limited to 'filters')
-rw-r--r-- | filters/macros.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/macros.lua b/filters/macros.lua index df08676..cb7975b 100644 --- a/filters/macros.lua +++ b/filters/macros.lua | |||
@@ -23,7 +23,7 @@ function figure(el) | |||
23 | pandoc.walk_block(el, { Image = function(iel) images:insert(iel) end }) | 23 | pandoc.walk_block(el, { Image = function(iel) images:insert(iel) end }) |
24 | 24 | ||
25 | el = pandoc.RawBlock("html", | 25 | el = pandoc.RawBlock("html", |
26 | "<figure class=\"c-figure\">\ | 26 | "<figure class=\"c-figure js-lightbox__image\">\ |
27 | <a class=\"c-figure__link\" href=\"" .. images[1].src .. "\">\ | 27 | <a class=\"c-figure__link\" href=\"" .. images[1].src .. "\">\ |
28 | <img class=\"c-figure__image\" src=\"" .. images[1].src .. "\" title=\"" .. images[1].title .. "\" />\ | 28 | <img class=\"c-figure__image\" src=\"" .. images[1].src .. "\" title=\"" .. images[1].title .. "\" />\ |
29 | </a>\ | 29 | </a>\ |