I'm currently working on a more complex website using CouchCMS with multiple page types and nested relationships. I'm wondering how others structure their templates to keep things maintainable and scalable. Do you use separate template files for each section? Any tips on keeping things DRY and organized?
Hi,
Usually a judicious use of 'embeds' suffices for most sites.
For more complex sites, you may find the following two methods of organizing templates useful -
1. https://docs.couchcms.com/miscellaneous ... embed.html
2. viewtopic.php?f=5&t=10984
Hope this helps.