{% extends "snippets/layout.html" %} {% block title %}Snippets Archive{% endblock %} {% block body %}

Welcome to the Flask snippet archive. This is the place where anyone can drop helpful pieces of code for others to use. {% if g.user %}

You're signed in as “{{ g.user.name }}”. You can sign out here after you're done if you want. If you want to change your OpenID login or display name, head over to the profile. {% else %}

In order to add snippets to this page or to add comments, all you need is an OpenID account. You can sign in here. {% endif %}

Want to share something? Then add a new snippet.

Snippets by Category

{% if recent %}

Recently Added

{% endif %} {% if g.user.is_admin %}

Admin Tools

{% endif %} {% endblock %}