diff options
author | Gavin D. Howard <yzena.tech@gmail.com> | 2019-12-11 23:48:40 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-12 07:48:40 +0100 |
commit | 4c804319f6db0b8459cc9b5df4a904fd2c55dedd (patch) | |
tree | e1972bfdf52dbc48e2d4f6df01a859c4cbb523c8 /hugolib | |
parent | 186a5ebfca29bffc413c5d968b3f4a69066a867c (diff) |
markup/tableofcontents: Add config option for ordered list
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page__per_output.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__per_output.go b/hugolib/page__per_output.go index bc2a0accc..9697468ff 100644 --- a/hugolib/page__per_output.go +++ b/hugolib/page__per_output.go @@ -292,7 +292,7 @@ func (p *pageContentOutput) TableOfContents() template.HTML { p.p.s.initInit(p.initMain, p.p) if tocProvider, ok := p.convertedResult.(converter.TableOfContentsProvider); ok { cfg := p.p.s.ContentSpec.Converters.GetMarkupConfig() - return template.HTML(tocProvider.TableOfContents().ToHTML(cfg.TableOfContents.StartLevel, cfg.TableOfContents.EndLevel)) + return template.HTML(tocProvider.TableOfContents().ToHTML(cfg.TableOfContents.StartLevel, cfg.TableOfContents.EndLevel, cfg.TableOfContents.Ordered)) } return p.tableOfContents } |