Notes on the logic of url resolution.
Given //site/variable
, what are the steps to resolve the template & content.
The priority is from higher to lower. Once a match is found, the chain breaks.
variable
is a hardcoded url (like the footer links, about page, login page etc.)variable
into its parts (e.g. ["inner-circle", "special-reports"]
)_id
./sub-code/
-> the subscription's dashboard/sub-code/special-reports
-> the list of special reports (where the "view all reports" link leads)/sub-code/archives
-> issues & updates (where the "view all issues & updates" link leads)/sub-code/portfolio
-> the portfolio page for the subscription/sub-code/training
-> the training page (not implemented yet)/sub-code
in-front. It will have a /report
prefix./sub-code/???
-> it would match a single issue/report./reports/???
. It would need to include a unique identifier. Possible example: /reports/the actual title.${_id}
article.cloudlgr.com
instead of dev-article.cloudlgr.com
?