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

Display main page's Table of Contents when viewed from the index page #1250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Dec 22, 2024

When the main page document is viewed as a standalone page, Darkfish displays the Table of Contents. When viewed from the index page, it does not.

This page changes the behaviour to also display the Table of Contents when the main page document is viewed from the index page.

Before

Screenshot 2024-12-22 at 16 30 45

After

Screenshot 2024-12-22 at 16 31 14

In ruby/ruby

Screenshot 2024-12-22 at 16 34 10

When the main page document is viewed as a standalone page, Darkfish
displays the Table of Contents. When viewed from the index page,
it does not.

This page changes the behaviour to also display the Table of Contents
when the main page document is viewed from the index page.
@st0012 st0012 force-pushed the display-main-page-tocs branch from 7b7869e to b499478 Compare December 28, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant