Source

meblog / templates / pages / default.html

Full commit
{% extends "pages/base.html" %}


{% if page.navbar %}
	{% block content %}
		{% if page %}
			<h3>{{ page.name }}</h3>
			{% autoescape off %}
			{{ page.body_html }}
			{% endautoescape %}
		{% else %}
			<h3>Sorry, this page is not ready yet. Please come back soon.</h3>
		{% endif %}
	{% endblock %}

	{% block side_menu %}{% endblock %}

{% else %}
	{% block content_wide %}
		{% if page %}
			<h3>{{ page.name }}</h3>
			{% autoescape off %}
			{{ page.body_html }}
			{% endautoescape %}
		{% else %}
			<h3>Sorry, this page is not ready yet. Please come back soon.</h3>
		{% endif %}
	{% endblock %}
{% endif %}