Skip to content

Commit b3139dc

Browse files
committed
move toc to left and remove unnecessary param
1 parent 16a48d9 commit b3139dc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

generate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ def format_markdown(file_path):
110110
"codehilite": {"css_class": "highlight"},
111111
"toc": {
112112
"anchorlink": True,
113-
"anchorlink_class": "headerlink",
114-
"toc_class": "menu",
113+
"anchorlink_class": "headerlink"
115114
},
116115
},
117116
)

templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1 class="title is-1">{{ headers.Title }}</h1>
1010
{% block toc %}
1111
{% if toc %}
1212
<nav class="navbar is-dark" role="table-of-contents-navigation" aria-label="dropdown navigation">
13-
<div class="navbar-end">
13+
<div class="navbar-start">
1414
<div class="navbar-item has-dropdown" id="toc" data-target="toc-dropdown">
1515
<a class="navbar-link">
1616
{{ _("Page Contents") }}

0 commit comments

Comments
 (0)