2022-12-22 21:06:35 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block body_class %}no-sidebar{% endblock %}
|
|
|
|
|
2022-12-26 22:29:52 +00:00
|
|
|
{% block opengraph %}
|
|
|
|
{# Error pages don't have the context loaded, so disable opengraph to keep it from spewing errors #}
|
|
|
|
{% endblock %}
|
|
|
|
|
2022-12-22 21:06:35 +00:00
|
|
|
{% block body_main %}
|
|
|
|
<header>
|
|
|
|
<menu>
|
|
|
|
{% if not request.user.is_authenticated and current_page == "about" and config.signup_allowed %}
|
2023-01-14 17:32:48 +00:00
|
|
|
<a href="{% url "signup" %}">Sign Up</a>
|
2022-12-22 21:06:35 +00:00
|
|
|
{% else %}
|
|
|
|
<a href="/">Home</a>
|
|
|
|
{% endif %}
|
|
|
|
<a class="logo" href="/">
|
|
|
|
<img src="{{ config.site_icon }}" width="32">
|
|
|
|
{{ config.site_name }}
|
|
|
|
</a>
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
<a href="javascript:history.back()">Back</a>
|
|
|
|
{% else %}
|
2023-01-14 17:32:48 +00:00
|
|
|
<a href="{% url "login" %}">Login</a>
|
2022-12-22 21:06:35 +00:00
|
|
|
{% endif %}
|
|
|
|
</menu>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div id="main-content">
|
2023-01-08 19:20:33 +00:00
|
|
|
{% include "activities/_image_viewer.html" %}
|
2022-12-22 21:06:35 +00:00
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2022-12-31 21:12:39 +00:00
|
|
|
|
|
|
|
{% block footer %}
|
|
|
|
{% include "_footer.html" %}
|
|
|
|
{% endblock %}
|