38 lines
1.4 KiB
HTML
38 lines
1.4 KiB
HTML
{% 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://njp.ma{{ text.get_absolute_url }}"/>
|
|
<meta property="og:site_name" content="njp.ma"/>
|
|
<meta property="og:description" content="{{ text.byline|striptags }}"/>
|
|
|
|
|
|
<meta name="title" content="{{ text.title }}"/>
|
|
<meta name="description" content="{{ text.byline|striptags }}"/>
|
|
|
|
<meta property="og:site_name" content="njp.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 }}"/>
|
|
|
|
{% endblock head %}
|
|
{% block main %}
|
|
<div id="ascroll"></div>
|
|
{% endblock %}
|
|
{% block end %}
|
|
<script>
|
|
var config = {{ text.json | safe }};
|
|
var pandoraURL = "{{ pandora_url }}";
|
|
var streamPrefix = "{{ stream_prefix }}";
|
|
</script>
|
|
<script src="/static/js/api.js?2021112223"></script>
|
|
{% if text.data.view == 'player' %}
|
|
<script src="/static/js/player.js?2021112223"></script>
|
|
{% else %}
|
|
<script src="/static/js/ascroll.js?2021112223"></script>
|
|
{% endif %}
|
|
{% endblock %}
|