Open thombruce opened 1 year ago
Note that regardless of any new template setting its own default, the main content section should still be configurable.
Note that if we do want to abandon @thombruce/tnt-content
in favour of @thombruce/dynamite
, we should mark TNT Content as deprecated following the steps suggested here: https://stackoverflow.com/questions/28371669/renaming-a-published-npm-module
Feature request
E.g. If the user has a
/content/blog
directory and their site is a blogging site, they may set the default content directory toblog
and this should show on the front page.Presently I believe the front page simply lists neighbouring pages by default (i.e. non-nested ones).
Consider use cases:
blog/
as main contentarticles/
as main contentproducts/
as main contentTempted to create new layer templates that inherit from TNT Content... Also tempted to rename 'TNT Content' to 'Dynamite' so that new inheriting layers can be named like 'Dynamite Blog', 'Dynamite Shop', 'Dynamite Docs', etc. A separation of responsibility - TNT as the main framework, Dynamite as the content site templates.
Code of Conduct