diff options
author | Volpeon <git@volpeon.ink> | 2021-11-12 20:39:46 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-12 20:39:46 +0100 |
commit | 9763ea03164f983d77051a84609dcae80885b1c0 (patch) | |
tree | 0d667634827c533fc1bb880c8e910e61581156e8 /filters | |
parent | Add focus to header (diff) | |
download | volpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.tar.gz volpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.tar.bz2 volpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.zip |
Improved page
Diffstat (limited to 'filters')
-rw-r--r-- | filters/common_actions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/common_actions.lua b/filters/common_actions.lua index 8383ada..cfe2d58 100644 --- a/filters/common_actions.lua +++ b/filters/common_actions.lua | |||
@@ -22,7 +22,7 @@ function Header(el) | |||
22 | if el.level <= 3 and el.identifier ~= '' then | 22 | if el.level <= 3 and el.identifier ~= '' then |
23 | el.content:insert(pandoc.Space()) | 23 | el.content:insert(pandoc.Space()) |
24 | el.content:insert(pandoc.Link(pandoc.RawInline('html', | 24 | el.content:insert(pandoc.Link(pandoc.RawInline('html', |
25 | '<svg class="o-icon"><use href="/symbols.svg#icon-link"></use></svg>'), | 25 | '<svg class="o-icon" width="1em" height="1em"><use href="/symbols.svg#icon-link"></use></svg>'), |
26 | '#' .. el.identifier, nil, { class = 's-headlines__link' })) | 26 | '#' .. el.identifier, nil, { class = 's-headlines__link' })) |
27 | end | 27 | end |
28 | 28 | ||