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

SEO Add Table of content for flatpages #1340

Open
dtrucs opened this issue Jan 6, 2025 · 0 comments
Open

SEO Add Table of content for flatpages #1340

dtrucs opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request SEO

Comments

@dtrucs
Copy link
Collaborator

dtrucs commented Jan 6, 2025

Text summarization is a technique that involves condensing a longer piece of text into a shorter, more concise version while still retaining the most important information. With concise sentences, it allows search engine to determine what the page is about.

Proposal:

  • create a boolean parameter enableFlatpageSummarization to global.json (set to false by default)
  • add an id attribute to all <hn> tags from the page with a slugify of its textContent .
  • extract all <hn> content from the current flatpage to create the table of contents, and link the anchors to the <hn>.
@dtrucs dtrucs added enhancement New feature or request SEO labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SEO
Projects
None yet
Development

No branches or pull requests

1 participant