Theme files are written in the Plate templating language. This language is HTML combined with a simple templating language. Any CSS or Javascript assets or frameworks can be used and included. By default, the Plate Grid framework is included.
Content Types
Theme Files for Content Types are structured as follows: :object_type_kind_name/:plural_name/:theme_file_name.:ext
. In the case of Inline Layout components, like Elements and Sections, :theme_file_name
usually is the singular name of the layout component or content type.
E.g., for Post Types, Element Types and Section and Section Types:
Code Block |
---|
posts/pages/show.plate posts/categories/show.plate elements/colored_buttons/colored_button.plate elements/paragraphs/paragraph.plate sections/page_sections/page_section.plate sections/background_sections/background_section.plate |
...