Folder-level front matter attributes #402
Replies: 1 comment
-
Per chats with @jmikell821 this might be useful for large reference sets like the security prebuilt rules (https://github.com/elastic/security-docs/tree/main/docs/reference/prebuilt-rules). As shown in https://www.elastic.co/guide/en/security/current/prebuilt-rules-downloadable-updates.html, the number of rules that are updated in association with a particular release can vary from 6 to 1000+. So being able to update the frontmatter just for that specific group (defined at docset-, toc-, or folder-level) might be quite handy. On the other hand, the prebuilt rules also seem to have their own versioning scheme (e.g. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Opening a discussion regarding the possible use of folder-level attributes for front matter defaults.
What it solves:
How it'd work:
This has been a very handy feature for me in the past on other SSGs. Sure, much like partials/includes/transclusion/call-it-how-you-like, it can make the system slightly more complex by moving some content outside of the .md file itself, but the more files one manages, the more convenient such feature becomes.
Some examples for reference:
Beta Was this translation helpful? Give feedback.
All reactions