Template Locations
Where the template paths map depends on whether your site is in "compatibility mode" or not. You can determine the mode by looking at the ceo-site
config and looking for the compatibilityMode
key.
Compatibility Mode
URL |
Path |
Notes |
/ |
gryphon/main/main.tpl |
|
/article/YYYY/MM/SLUG |
gryphon/article/main.tpl |
|
/section/SLUG |
gryphon/section/main.tpl |
|
/multimedia |
gryphon/multimedia/landing.tpl |
|
/multimedia/TYPE |
gryphon/multimedia/templates/TYPE.tpl |
Where type is a media type (e.g. "video") |
/multimedia/SLUG |
gryphon/multimedia/detail.tpl |
Where slug is a media slug |
/gallery |
gryphon/gallery/landing.tpl |
|
/gallery/SLUG |
gryphon/gallery/detail.tpl |
|
/page/SLUG |
gryphon/page/main.tpl |
If slug maps to CEO page, will load main.tpl . If not found, will look for template with slug filename. |
/staff/SLUG |
gryphon/author/main.tpl |
|
Default Mode
URL |
Path |
Notes |
/ |
index.twig |
|
/article/YYYY/MM/SLUG |
article/index.twig |
|
/section/SLUG |
section/index.twig |
|
/multimedia |
USER MAPPED or media/index.twig |
|
/multimedia/TYPE |
USER MAPPED or media/index.twig |
|
/multimedia/SLUG |
USER MAPPED or media/index.twig |
|
/gallery |
USER MAPPED or media/index.twig |
|
/gallery/SLUG |
USER MAPPED or media/index.twig |
|
/page/SLUG |
page/index.html |
If slug maps to CEO page, will load main.tpl . If not found, will look for template with slug filename. |
/staff/SLUG |
staff/index.html |
|