Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'markup/asciidocext/convert.go')
-rw-r--r--markup/asciidocext/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/asciidocext/convert.go b/markup/asciidocext/convert.go
index 10e16810e..ff843cb6e 100644
--- a/markup/asciidocext/convert.go
+++ b/markup/asciidocext/convert.go
@@ -276,7 +276,7 @@ func parseTOC(doc *html.Node) tableofcontents.Root {
continue
}
href := attr(c, "href")[1:]
- toc.AddAt(tableofcontents.Header{
+ toc.AddAt(tableofcontents.Heading{
Text: nodeContent(c),
ID: href,
}, row, level)