Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

TOC support #237

Closed
wants to merge 9 commits into from
Closed

TOC support #237

wants to merge 9 commits into from

Conversation

noraj
Copy link
Contributor

@noraj noraj commented Oct 14, 2018

Pull request

Hexo has a helper for table of contents https://hexo.io/docs/helpers.html#toc

So I modified the template to add TOC on a per article basis and styled with a wikipedia-like style.

User just need to add this in front matter:

toc: true

I added examples in _config.yml.example but you may want to edit the wiki too.

PS : I'll advice to squash on merge if possible because of various fixes making commit history messy.

@ppoffice
Copy link
Owner

@noraj
Copy link
Contributor Author

noraj commented Oct 16, 2018

@ppoffice So this is answering for a half of this issue #238

The "catalog" widget wasn't documented and the name wasn't explicit.

RIP I spent time on this feature.

@ppoffice ppoffice closed this Oct 18, 2018
@noraj noraj deleted the patch-1 branch April 26, 2020 18:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants