{% extends "base.html" %} {% block content %}

{{ message }}

This is a demonstration of Jinja2 template rendering in BustAPI. Explore the different pages to see various template features in action.


BustAPI combines the simplicity of Flask with the performance of Rust, giving you the best of both worlds for web development.

View Users 👥 Read Blog 📝
🚀 High Performance

BustAPI delivers superior performance with its Rust-powered backend, achieving 539+ RPS compared to Flask's 452 RPS.

View Dashboard
🎨 Template Support

Full Jinja2 template support with inheritance, filters, and all the features you expect from a modern template engine.

Try Form
🔧 Flask Compatible

Drop-in replacement for Flask applications with familiar routing, request handling, and template rendering.

Explore API

Template Features Demonstrated

  • Template Inheritance: Base template with blocks
  • Variable Rendering: Dynamic content from Python
  • Conditional Logic: if/else statements in templates
  • Loops: Iterating over lists and dictionaries
  • Filters: Built-in and custom template filters
  • Forms: Form handling and validation
  • Static Files: CSS, JS, and image serving
  • Error Pages: Custom 404 and error templates
{% endblock %} {% block scripts %} {% endblock %}