I accidentally removed a collection from the home page of my website.
Can’t add section or anything to get it back it seems?
Help please!
The theme I’m using is “Simple”
A collection was removed from the home page in the Simple theme, and the user can’t re-add it via the theme editor.
Likely cause: The home page template (templates/index.liquid) may be missing the Liquid placeholder that renders home sections: “{{ content_for_index }}”. Removing or altering this line prevents sections (like collections) from appearing.
Recommended actions:
Notes:
Status: No confirmed resolution yet. Next steps are to restore “{{ content_for_index }}” in index.liquid or migrate to a supported theme if issues persist.
I accidentally removed a collection from the home page of my website.
Can’t add section or anything to get it back it seems?
Help please!
The theme I’m using is “Simple”
I managed to replicate that issue by removing all the code from index.liquid that is in the templates folder. By default theme had
{{ content_for_index }}
But you may have a slightly different code so check if your index.liquid contains
{{ content_for_index }}
Also note that that theme is not supported anymore and there are a few free themes that can replace it with some new features. But if you need original code to compare with your theme do check this post. I found theme there: