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

[Shock] - Support pure Yaml pages #147

Open
matthew-carroll opened this issue Jun 13, 2024 · 0 comments
Open

[Shock] - Support pure Yaml pages #147

matthew-carroll opened this issue Jun 13, 2024 · 0 comments
Labels
area_static_shock feature New feature or request

Comments

@matthew-carroll
Copy link
Contributor

Currently we support two types of pages. Markdown pages through the Markdown plugin, and Jinja pages through the Jinja plugin.

Markdown pages are a collection of variables at the top of the file in a Yaml syntax known as Frontmatter, and then all of the actual Markdown syntax in the file comes after that, and is placed in a content property.

Sometimes it's preferable to define an entire page in terms of Yaml properties without any Markdown at all.

For example, consider a webpage that describes a fragment shader. The page has a title, description, and a code block. Each page only has a few things that are allowed to be different. There's no control over generic content. Therefore, these pages can be defined in terms of a set of Yaml properties alone. But there's currently no plugin to find and load Yaml files as pages.

@matthew-carroll matthew-carroll added feature New feature or request area_static_shock labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_static_shock feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant