I’m new to Grav and studying its feasibility for a new website. University websites are incredibly complex, and it’s difficult to find a CMS that adheres to a DRY (don’t repeat yourself) paradigm. Looking at the documentation, I’m unable to ascertain whether it’s possible to store content simply as “data” and reuse it throughout the site…even a multisite installation…without having to copy it.
For example, let’s say that within “catalog.university.edu” there are a series of YAML files, each one corresponding to a specific degree. The fields dictate the name of the degree, the department that houses it, and even the course sequence. Then, within “specificdepartment.university.edu” I may want to provide a list of degrees within that department as part of a modular page, with each link displaying the SAME content from the catalog site, but within the template of the department site. Therefore, whenever I edit the single YAML file for the degree, the changes are immediately seen wherever the content is referenced.
Is this type of content reusability possible? I’m imagi ning that, conceptually, it would involve somehow using a variable to symbolize the specific call for the correct degrees, and then some kind of url routing to pull the correct content once a degree link is clicked, but I may be hoping for something too complex or odd here.