njpma/app/templates/text.html
2021-10-30 16:38:23 +01:00

19 lines
686 B
HTML
Executable file

{% extends "base.html" %}
{% block head %}
<meta name="title" content="{{ text.title | safe }}"/>
<meta name="description" content="{{ text.byline|striptags }}"/>
<meta property="og:title" content="{{ text.title }}"/>
<meta property="og:type" content="movie"/>
<meta property="og:url" content="https://phantas.ma{{ text.get_absolute_url }}"/>
<meta property="og:site_name" content="Phantas.ma"/>
<meta property="og:description" content="{{ text.byline|striptags }}"/>
{% endblock head %}
{% block main %}
<div id="ascroll"></div>
{% endblock %}
{% block end %}
<script>
var config = {{ text.json | safe }};
</script>
<script src="/static/js/ascroll.js"></script>
{% endblock %}