EM-GUIDE / em-guide-cms

0 stars 0 forks source link

Add "page" type for stand-alone (unlisted) subpages #10

Closed gammaw closed 9 months ago

gammaw commented 9 months ago

Issue: post or pub types cannot be used for something like /privacy

There is one for privacy yes, but it's one + the route cannot be edited.

Quick fix: make existing policy page URL editable.

revnandi commented 9 months ago

the ssg builds pages from page files in the repo (ie privacy-policy.astro -> /privacy-policy) or dynamically from a template based on data from a collection endpoint from strapi

to be able to add pages from the cms with custom urls I need to create a page collection, change the menu so it supports dynamic data etc...

for now I just changed the privacy page filename

gammaw commented 9 months ago

@revnandi thanks! let's close it for now, cause I'm not sure if we need extra pages atm.