njpma/app/templates/text.html

20 lines
686 B
HTML
Raw Normal View History

2021-10-10 15:06:43 +00:00
{% extends "base.html" %}
2021-10-30 15:38:11 +00:00
{% 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 %}
2021-10-10 15:06:43 +00:00
{% block main %}
<div id="ascroll"></div>
{% endblock %}
{% block end %}
<script>
var config = {{ text.json | safe }};
</script>
<script src="/static/js/ascroll.js"></script>
{% endblock %}