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 }}"/>
|
2021-10-31 11:17:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
<meta name="title" content="{{ text.title }}"/>
|
|
|
|
<meta name="description" content="{{ text.byline|striptags }}"/>
|
|
|
|
{% if text.data.related %}
|
|
|
|
<meta content="{{ stream_prefix }}{{ text.data.related}}/loop.jpg" name="thumbnail"/>
|
|
|
|
<meta content="{{ stream_prefix }}{{ text.data.related }}/loop.jpg" name="image_src"/>
|
|
|
|
<meta property="twitter:image" content="{{ stream_prefix }}{{ text.data.related }}/loop.jpg"/>
|
|
|
|
<meta property="og:image" content="{{ stream_prefix }}{{ text.data.related }}/loop.jpg"/>
|
|
|
|
{% elif text.data.item %}
|
|
|
|
<meta content="{{ stream_prefix }}{{ text.data.item}}/loop.jpg" name="thumbnail"/>
|
|
|
|
<meta content="{{ stream_prefix }}{{ text.data.item }}/loop.jpg" name="image_src"/>
|
|
|
|
<meta property="twitter:image" content="{{ stream_prefix }}{{ text.data.item }}/loop.jpg"/>
|
|
|
|
<meta property="og:image" content="{{ stream_prefix }}{{ text.data.item }}/loop.jpg"/>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<meta property="og:site_name" content="Phantas.ma"/>
|
|
|
|
<meta property="og:description" content="{% for director in text.data.director %}{{ director|safe }}{% endfor %}"/>
|
|
|
|
|
|
|
|
<meta property="twitter:card" content="summary_large_image"/>
|
|
|
|
<meta property="twitter:title" content="{{ text.title | safe }}"/>
|
|
|
|
<meta property="twitter:description" content="{{ text.byline|striptags }}"/>
|
|
|
|
|
2021-10-30 15:38:11 +00:00
|
|
|
{% 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>
|
2021-11-01 15:57:12 +00:00
|
|
|
<script src="/static/js/ascroll.js?2"></script>
|
2021-10-10 15:06:43 +00:00
|
|
|
{% endblock %}
|