diff options
Diffstat (limited to '')
| -rw-r--r-- | preproc.lua (renamed from front.lua) | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/front.lua b/preproc.lua index a6046b1..6bfa8c5 100644 --- a/front.lua +++ b/preproc.lua @@ -6,8 +6,7 @@ return { local toc = pandoc.structure.table_of_contents(doc) if doc.meta.toc and toc then - table.insert(front, pandoc.RawBlock("html5", '<section class="table-of-contents">')) - table.insert(front, pandoc.RawBlock("html5", '<nav class="capital">')) + table.insert(front, pandoc.RawBlock("html5", '<nav class="table-of-contents capital">')) table.insert(front, pandoc.RawBlock("html5", "<ol>")) -- insert jump to top table.insert(front, pandoc.Link("back to top", "#top")) @@ -21,7 +20,6 @@ return { }) table.insert(front, pandoc.RawBlock("html5", "</ol>")) table.insert(front, pandoc.RawBlock("html5", "</nav>")) - table.insert(front, pandoc.RawBlock("html5", "</section>")) end -- insert date blocks |