-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toc可放左边或者右边吗 而不是顶部 #368
Comments
+1 |
+10086 |
#64 read this |
附议 |
目录的样式在 _single.scss 中的 页面的配置则在 post.html,目录默认和博文放在同一个容器内,因此还需要把它从里面拿出来: <main class="main single" id="main">
// 目录
{{ $enableTOC := .Params.toc | default .Site.Params.enableTOC -}}
{{- if $enableTOC -}}
{{- partial "utils/toc.html" . -}}
{{- end -}}
<div class="main-inner"> ...
</div> 我的博客目前是这样: |
来个PR, 拜托了! 🤞 |
为什么我按照你的来写不生效呢?我按照你的commit修改了layouts/partials/pages/post.html,asserts/scss/layout/_single.scss,asserts/scss/base/_data-attributes.scss,assert/scss/main.scss,以及config.toml文件,请问还需要修改哪里吗? |
我把你的dev分支clone到我的主题文件夹下,然后修改了站点配置文件config.toml,仍然不行,是否还需要修改其他地方呀 |
|
No description provided.
The text was updated successfully, but these errors were encountered: