Skip to content

Commit 1213df6

Browse files
committed
Change the TOC class name to ox-hugo-toc
1 parent de6e701 commit 1213df6

9 files changed

+14
-14
lines changed

ox-hugo.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -810,11 +810,11 @@ contents according to the current headline."
810810
;; Hide the bullets if section numbers are present for
811811
;; even one heading.
812812
(concat "<style>\n"
813-
" .ox-hugo ul {\n"
813+
" .ox-hugo-toc ul {\n"
814814
" list-style: none;\n"
815815
" }\n"
816816
"</style>\n"))
817-
"<div class=\"ox-hugo toc\">\n" ;This is a nasty workaround
817+
"<div class=\"ox-hugo-toc toc\">\n" ;This is a nasty workaround
818818
"<div></div>\n" ;till Hugo/Blackfriday support
819819
toc-headline ;wrapping Markdown in HTML div's.
820820
toc-items ;https://github.com/kaushalmodi/ox-hugo/issues/93

test/site/content/posts/post-with-export-options-toc-1-num-onlytoc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ draft = false
55
+++
66

77
<style>
8-
.ox-hugo ul {
8+
.ox-hugo-toc ul {
99
list-style: none;
1010
}
1111
</style>
12-
<div class="ox-hugo toc">
12+
<div class="ox-hugo-toc toc">
1313
<div></div>
1414

1515
## Table of Contents

test/site/content/posts/post-with-export-options-toc-2-num-nil.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags = ["export-option", "toc"]
44
draft = false
55
+++
66

7-
<div class="ox-hugo toc">
7+
<div class="ox-hugo-toc toc">
88
<div></div>
99

1010
## Table of Contents

test/site/content/posts/post-with-export-options-toc-2-num-t.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ draft = false
55
+++
66

77
<style>
8-
.ox-hugo ul {
8+
.ox-hugo-toc ul {
99
list-style: none;
1010
}
1111
</style>
12-
<div class="ox-hugo toc">
12+
<div class="ox-hugo-toc toc">
1313
<div></div>
1414

1515
## Table of Contents

test/site/content/posts/post-with-export-options-toc-t-num-nil.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags = ["export-option", "toc"]
44
draft = false
55
+++
66

7-
<div class="ox-hugo toc">
7+
<div class="ox-hugo-toc toc">
88
<div></div>
99

1010
## Table of Contents

test/site/content/posts/post-with-export-options-toc-t-num-onlytoc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ draft = false
55
+++
66

77
<style>
8-
.ox-hugo ul {
8+
.ox-hugo-toc ul {
99
list-style: none;
1010
}
1111
</style>
12-
<div class="ox-hugo toc">
12+
<div class="ox-hugo-toc toc">
1313
<div></div>
1414

1515
## Table of Contents

test/site/content/posts/post-with-export-options-toc-t-num-t.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ draft = false
55
+++
66

77
<style>
8-
.ox-hugo ul {
8+
.ox-hugo-toc ul {
99
list-style: none;
1010
}
1111
</style>
12-
<div class="ox-hugo toc">
12+
<div class="ox-hugo-toc toc">
1313
<div></div>
1414

1515
## Table of Contents

test/site/content/posts/post-with-toc-keyword-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags = ["keyword", "toc"]
44
draft = false
55
+++
66

7-
<div class="ox-hugo toc">
7+
<div class="ox-hugo-toc toc">
88
<div></div>
99

1010
## Table of Contents

test/site/content/posts/post-with-toc-keyword-6.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags = ["keyword", "toc"]
44
draft = false
55
+++
66

7-
<div class="ox-hugo toc">
7+
<div class="ox-hugo-toc toc">
88
<div></div>
99

1010
## Table of Contents

0 commit comments

Comments
 (0)