{% extends "community/layout.html" %} {% block title %}Badges{% endblock %} {% macro badge(filename, title) -%} {{ title }} {%- endmacro %} {% macro show_badge(filename, title) -%}

{{ badge(filename, title) }}

{{ badge(filename, title)|forceescape }}
{%- endmacro %} {% block body %}

Badges

If you want to share the word and want to add a “powered by Flask” badge to your website you can display one of these nifty badges. We also have some badges if your website is not yet powered by Flask :)

Large Badges

{{ show_badge('flask-powered.png', 'Flask powered') }} {{ show_badge('i-wish.png', 'I wish this site were Flask powered') }} {{ show_badge('unfortunately-not.png', 'Unfortunately not Flask powered') }}

Small Badges

{{ show_badge('flask-project-s.png', 'a Flask project') }} {{ show_badge('made-with-flask-s.png', 'made with Flask') }} {{ show_badge('powered-by-flask-s.png', 'powered by Flask') }}

Idea for badges inspired by the Django Framework badges.

{% endblock %}