--- title: "Twig Conditional Statements" slug: "twig-conditional-statements" updated: 2026-11-16T09:38:47Z published: 2026-11-16T09:38:47Z canonical: "docs.xtremepush.com/twig-conditional-statements" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.xtremepush.com/llms.txt > Use this file to discover all available pages before exploring further. # Twig Conditional Statements ## Overview Apply conditional logic to automatically show or hide specific content blocks, images, or languages, so each user sees the most relevant version of your message based on their profile. ## Watch the video Watch the video below for a walkthrough of Twig conditional statements. For the best experience, we recommend viewing in full screen. **Note:** This video demonstrates our product features using our new UI. If you don’t have access to the new UI and are interested in switching, please contact your account manager. [Embedded content](https://app.screencast.com/K8NNBnTFuEZ1v/e)