SSWConsulting / SSW.Rules

Generator for ssw.com.au/rules
https://www.ssw.com.au/rules
MIT License
15 stars 13 forks source link

🦙 Collection - Categories #1463

Open bradystroud opened 2 months ago

bradystroud commented 2 months ago

Categories should have the following fields:

path: "/categories"

~type: String~ (No longer needed) title: String guid: String (This should be autogenerated on creation) ~uri: String~ (This will just be the filename) index: Reference list (Order and add Rules to this category) body: rich-text

isaaclombardssw commented 1 month ago

These should be using Tina Templates – which required a change to the frontmatter of the rules categories (type: {{ category OR top-category }} to _template: {{ category OR top-category }}).

This en-mass change should be done safely and correctly, @bradystroud and I have outlined how that might be done. If you couldn't tell from the scribbles we'll be going with option 2 for this project.

Image