Render metadata-defined images inline with page title (H1) #6142
jeff-matthews
started this conversation in
Feature Requests
Replies: 1 comment
-
|
+1 for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request
Add a config/metadata option (e.g.
iconInTitle: true, or havemoderender the existingiconfield inline before the H1) so the page icon appears to the left of the auto-generated page title (H1) on the page body — not just in the sidebar.Use case
Reference pages (e.g., per node/object type) where a type icon next to the title gives immediate visual context.
Existing workarounds and why they fall short
iconmetadata - renders only in the sidebar nav, never next to the on-page title. Doesn't meet the need.<img>in the body - lands above/below the title, not beside it, and isn't vertically aligned with the heading. Looks bolted-on.title, usesidebarTitle+ a custom<h1>with an inline<img>- only way to get it truly left-of-title today, but it sacrifices the native title (SEO/meta/tab title fall back), requires hand-styled markup on every page, and is fragile against theme changes. Not viable at scale. A first-class option would remove the title/SEO trade-off and keep markup consistent across pages.Beta Was this translation helpful? Give feedback.
All reactions