LogoLogo
search
Ctrlk
LogoLogo
  • hand-waveWelcome to Rewst documentation
  • Documentation
    • houseRewst Dashboard
    • diagram-projectAutomations
    • compass-draftingApp Builder
    • boxCrates
    • hexagonConfiguration
    • screwdriver-wrenchRewst Tools
    • gearSettings
    • brackets-curlyJinja
      • Jinja essentials
      • Jinja data types
      • Jinja filters
      • Common Jinja examples
        • 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 practices
      • Internal Rewst Jinja examples
      • Use PowerShell scripts in Rewst
      • JSONPath for data redaction in Rewst
    • user-secretAgent Smith
  • 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 Mic
    • comment-codeDevelopment updates
    • graduation-capTraining updates
    • boxCrate Marketplace updates
    • seal-questionApp Builder AMAs
    • circle-exclamationAlerts
  • Support and Community
    • message-questionRewst support
    • 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 4 days 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?