{% extends 'ui/page.html' %}

{% load markdown_deux_tags %}

{% block title %}{{ page.title }} - {{ event.extended_title }}{% endblock %}

{% block head %}
    <meta name="description" content="{{ page.meta_description }}">
{% endblock %}

{% block og %}
    <meta property="og:title" content="{{ page.title }}" />
    <meta property="og:description" content="{{ page.meta_description }}" />
{% endblock %}

{% block content %}
    <h1 class="red-arrow">
        {{ page.title.split|join:"_" }}_
    </h1>

    {{ page.content|markdown:"trusted" }}

    {% include "partials/share.html" with title="Share this page" %}
{% endblock %}

{% extends 'ui/page.html' %}

{% load markdown_deux_tags %}

{% block title %}{{ page.title }} - {{ event.extended_title }}{% endblock %}

{% block head %}
    <meta name="description" content="{{ page.meta_description }}">
{% endblock %}

{% block og %}
    <meta property="og:title" content="{{ page.title }}" />
    <meta property="og:description" content="{{ page.meta_description }}" />
{% endblock %}

{% block content %}
    {% if user.is_superuser %}
        <a class="button yellow-arrow float-right" href="{% url 'admin:pages_page_change' page.pk %}">Edit page</a>
    {% endif %}

    <h1 class="red-arrow">
        {{ page.title.split|join:"_" }}_
    </h1>

    {{ page.content|markdown:"trusted" }}

    {% include "partials/share.html" with title="Share this page" %}
{% endblock %}

Add edit link to pages, visible to admin
Add edit link to pages, visible to admin
