LogoLogo
search
Ctrlk
  • hand-waveWelcome to Rewst documentation
  • Documentation
    • houseRewst Dashboard
    • diagram-projectAutomationschevron-right
    • compass-draftingApp Builderchevron-right
    • boxCrateschevron-right
    • hexagonConfigurationchevron-right
    • screwdriver-wrenchRewst Toolschevron-right
    • gearSettingschevron-right
    • brackets-curlyJinjachevron-right
      • Jinja essentials
      • Data types
      • Jinja filters
      • Common Jinja exampleschevron-right
        • Conditional statements and logical operators
        • Jinja macros
        • Date-time comparisons
        • Block scope
        • Try/catch blocks
        • Generate CSVs dynamically with Jinja
        • Split strings, replace characters, and combine strings
        • Dictionary unpacking
        • Loops in Jinja
        • Mimick switch statements in Jinja
      • Jinja use cases and best practiceschevron-right
      • Internal Rewst Jinja examples
      • Use PowerShell scripts in Rewst
    • user-secretAgent Smithchevron-right
  • Security
    • arrow-right-arrow-leftIncoming and outgoing domains and IPs
    • shield-quarteredRewst trust and security center
  • Terms and Definitions
    • book-openGlossary of terms
  • Updates
    • microphone-linesRewst Open Micchevron-right
    • comment-codeDevelopment updateschevron-right
    • graduation-capTraining updateschevron-right
    • boxCrate Marketplace updateschevron-right
    • seal-questionApp Builder AMAschevron-right
    • circle-exclamationAlerts
  • Support and Community
    • message-questionRewst supportchevron-right
    • school-flagCluck University
  • envelopeContact resources
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
githubEdit
  1. Documentationchevron-right
  2. brackets-curlyJinja

Common Jinja examples

Conditional statements and logical operatorschevron-rightJinja macroschevron-rightDate-time comparisonschevron-rightBlock scopechevron-rightTry/catch blockschevron-rightGenerate CSVs dynamically with Jinjachevron-rightSplit strings, replace characters, and combine stringschevron-rightDictionary unpackingchevron-rightLoops in Jinjachevron-rightMimick switch statements in Jinjachevron-right
PreviousJinja filterschevron-leftNextConditional statements and logical operatorschevron-right

Last updated 9 months ago

Was this helpful?

Follow

  • 🤖 GitHub

Join our community

  • 👾 Discord

Request a feature

  • 💡 Canny

Contact Rewst support

  • 🤝 Support contact info

© 2025 Rewst

Was this helpful?