Skip to content

Conversation

@melissag-ensemble
Copy link
Collaborator

@melissag-ensemble melissag-ensemble commented Aug 28, 2025

Description

Parse layout: none from markdown file's frontmatter, and add as <meta> tag in the <head> section of the HTML doc

Ticket

https://jira.corp.adobe.com/browse/DEVSITE-1725

Context

Used similar approach as #13 and #59

Test

  1. git checkout DEVSITE-1725-layout-meta
  2. npm run devRemote
  3. go to http://localhost:3000/github-actions-test/test/redocly-api-block-no-layout
  4. confirm <meta name="layout" content="none"> exists (because it's in the frontmatter)
  5. go to http://localhost:3000/github-actions-test/test/redocly-api-block-default
  6. confirm <meta name="layout" content="none"> exists (because it's not in the frontmatter)

Screenshots

  • with layout: none
Screenshot 2025-08-28 at 2 04 13 PM
  • without layout: none
Screenshot 2025-08-28 at 2 04 29 PM

@melissag-ensemble melissag-ensemble changed the title feat: add layout as <meta> tag in the <head> section of the HTML doc feat: add layout as meta Aug 28, 2025
@melissag-ensemble melissag-ensemble force-pushed the DEVSITE-1725-layout-meta branch from 7be6b0d to fdbcae3 Compare August 28, 2025 21:43
@melissag-ensemble melissag-ensemble merged commit 25b4e73 into main Aug 28, 2025
1 check failed
@melissag-ensemble melissag-ensemble deleted the DEVSITE-1725-layout-meta branch August 28, 2025 21:51
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.

4 participants