Statamic renders index instead of show and also... #6356
-
Hi there. I need help. hierarchy my projects/show.antlers.html is rendering only the data in index.antlers.html and projects/index.antlers.html only renders data from the CMS window via the And its rendering that content without requiring {{ content }} within the index.antlers.html stumped. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hey @goodBranchUC, What's your collection's and entry's template set to? You can set the template for each of them. Either from the Control Panel or manually in the YAML of the collection or YAML front-matter of the entry's markdown file. Maybe you got it mixed up? |
Beta Was this translation helpful? Give feedback.
-
For some odd reason my md file generated template_field: projects/index instead of template: projects/index. had to delete _field and it worked. |
Beta Was this translation helpful? Give feedback.
Hey @goodBranchUC,
What's your collection's and entry's template set to? You can set the template for each of them. Either from the Control Panel or manually in the YAML of the collection or YAML front-matter of the entry's markdown file. Maybe you got it mixed up?