Skip to content

Move new content-after-header hook into partials folder, add UG entry#2256

Merged
chalin merged 3 commits intogoogle:mainfrom
chalin:chalin-rw-im-td-content-after-2025-05-22
May 22, 2025
Merged

Move new content-after-header hook into partials folder, add UG entry#2256
chalin merged 3 commits intogoogle:mainfrom
chalin:chalin-rw-im-td-content-after-2025-05-22

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented May 22, 2025

@chalin chalin changed the title Move new content-after-header hook into partials folder Move new content-after-header hook into partials folder, add UG entry May 22, 2025
@chalin chalin force-pushed the chalin-rw-im-td-content-after-2025-05-22 branch from 309bde6 to 1145c18 Compare May 22, 2025 17:15
@chalin chalin merged commit dc6a30a into google:main May 22, 2025
11 checks passed
@chalin chalin deleted the chalin-rw-im-td-content-after-2025-05-22 branch May 22, 2025 17:50

To have a banner, or other similar content, appear at the top of the pages in a
section, add the content to the [td/content-after-header.html] partial. It will
appear inside the `div.td-content`, after `</header>`, just before `.Content` is
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only suggested change here is to take out one of the commas as it's a bit hard to read, so:

It will appear inside the div.td-content after </header>, just before .Content is
rendered.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks; see a2b7378.

chalin added a commit to chalin/docsy that referenced this pull request May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants