You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
645 B
HTML

{% extends "base.html" %}
<!-- Additional styles and scripts -->
{% block head %} {% if css %}
<link rel="stylesheet" href="{{url_for('static', filename='css/' +css)}}" />
{% endif %} {% if script %}
<script src="{{url_for('static', filename='js/' + script)}}" defer></script>
{% endif %} {% endblock %}
<!-- Title -->
{% block title %} {{title}} {% endblock %} {% block nav %}
<a href="{{url_for('home_page')}}">Back</a>
{% endblock %}
<!-- Contents in the body -->
{% block content%} {% if cover %}
<img class="cover" alt="{{cover_alt}}" src="{{url_for('static', filename='img/' + cover)}}" />
{% endif %} {{ content|safe }} {% endblock %}