Skip to content

Commit

Permalink
[#33] Template Structure section updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwesselman committed Oct 22, 2019
1 parent 72d55ba commit c7771d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed helix/principles/templates/_static/image22.png
Binary file not shown.
21 changes: 11 additions & 10 deletions helix/principles/templates/structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ Structure
~~~~~~~~~

Given the type-centric nature of Sitecore, templates are all maintained
under /sitecore/templates in the Sitecore content tree, but
under ``/sitecore/templates`` in the Sitecore content tree, but
implementation specific templates are maintained as part of a module.
Specifically, in the following structure:
Specifically, in the content tree they use the following structure:

/sitecore/templates/[Project\|Feature\|Foundation]/[*module*]
::

where module is the short name of the module, i.e. without prefixes.
/sitecore/templates/[Project|Feature|Foundation]/[Module]

.. admonition:: Habitat Example
where *Module* is the short name of the module, i.e. without prefixes.

.. figure:: _static/image22.png
.. admonition:: Sitecore Helix Examples

Figure: Module specific template folders in Habitat
.. figure:: _static/basic-company-template-structure.png

Since the root layer folders (Project/Feature/Foundation) are not a
native part of Sitecore, these folders are created by the
Foundation/Serialization module.
Figure: Module specific template folders in Helix Basic Company

The root layer folders (Project/Feature/Foundation) are now a
native part of Sitecore.

0 comments on commit c7771d0

Please sign in to comment.