Skip to content
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

Use ETT table of contents #314

Open
Tracked by #306
elichad opened this issue Jun 6, 2024 · 0 comments
Open
Tracked by #306

Use ETT table of contents #314

elichad opened this issue Jun 6, 2024 · 0 comments
Labels
website Issues related to the RO-Crate website theme

Comments

@elichad
Copy link
Contributor

elichad commented Jun 6, 2024

Bert: The theme itself does come with a table of contents that is automatically generated so I think you can minimize the amount lines in the markdown by not including it as part of the page content. It also renders on the side (and looks better imo) which means that people will quicker find the content instead of heaving to scroll.

Eli: we have overridden the TOC creation in head.html but still use the ETT file assets/js/toc.js to create the TOC. Normally it would be in page.html

@elichad elichad mentioned this issue Jun 6, 2024
4 tasks
@elichad elichad changed the title - The theme itself does come with a table of contents that is automatically generated so I think you can minimize the amount lines in the markdown by not including it as part of the page content. It also renders on the side (and looks better imo) which means that people will quicker find the content instead of heaving to scroll. Use ETT table of contents Jun 6, 2024
@elichad elichad added the website Issues related to the RO-Crate website theme label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Issues related to the RO-Crate website theme
Projects
None yet
Development

No branches or pull requests

1 participant