Skip to content

Instantly share code, notes, and snippets.

@juban juban/index.twig
Created Jul 11, 2017

Embed
What would you like to do?
Craft CMS - Redirect to first available child entity in a structure or channel section
{% set entry = craft.entries.slug('homepage').first() %}
{% redirect entry.workshopPages[0].url %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.