0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 11:22:40 +00:00

Shift Footer generation to snippet

This commit is contained in:
G.Ambatte
2023-06-03 13:30:32 +12:00
parent 052c255068
commit d2b2e69123
5 changed files with 30 additions and 36 deletions

View File

@@ -8,6 +8,7 @@ const ClassFeatureGen = require('./snippets/classfeature.gen.js');
const CoverPageGen = require('./snippets/coverpage.gen.js');
const TableOfContentsGen = require('./snippets/tableOfContents.gen.js');
const indexGen = require('./snippets/index.gen.js');
const FooterGen = require('./snippets/footer.gen.js');
const dedent = require('dedent-tabs').default;
@@ -29,6 +30,11 @@ module.exports = [
icon : 'fas fa-sort-numeric-down',
gen : '{{pageNumber,auto}}\n{{footnote PART 1 | SECTION NAME}}\n\n'
},
{
name : 'Footer',
icon : 'fas fa-sort-numeric-down',
gen : FooterGen
},
{
name : 'Table of Contents',
icon : 'fas fa-book',