remove phantas.ma links
This commit is contained in:
parent
e7d973c75f
commit
11dc9f3f57
6 changed files with 17 additions and 32 deletions
|
@ -11,7 +11,7 @@ def index(request):
|
||||||
form = forms.ContactForm(request.POST)
|
form = forms.ContactForm(request.POST)
|
||||||
if form.is_valid():
|
if form.is_valid():
|
||||||
message = 'From: %s\n\n%s' % (form.cleaned_data['email'], form.cleaned_data['message'])
|
message = 'From: %s\n\n%s' % (form.cleaned_data['email'], form.cleaned_data['message'])
|
||||||
subject = 'Phantas.ma/polis contact message'
|
subject = 'njp.ma contact message'
|
||||||
from_ = settings.CONTACT_FROM_EMAIL
|
from_ = settings.CONTACT_FROM_EMAIL
|
||||||
to = [settings.CONTACT_TO_EMAIL]
|
to = [settings.CONTACT_TO_EMAIL]
|
||||||
msg = EmailMessage(subject, message, from_, to, reply_to=[form.cleaned_data['email']])
|
msg = EmailMessage(subject, message, from_, to, reply_to=[form.cleaned_data['email']])
|
||||||
|
|
|
@ -31,7 +31,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => {
|
||||||
video.classList.add('player')
|
video.classList.add('player')
|
||||||
video.classList.add('fullscreen')
|
video.classList.add('fullscreen')
|
||||||
//setVideoSrc(video, 'https://pad.ma/' + film.id + '/480p.webm')
|
//setVideoSrc(video, 'https://pad.ma/' + film.id + '/480p.webm')
|
||||||
video.src = `${film.prefix}stream/${film.id}.mp4`
|
video.src = `${film.prefix}/stream/${film.id}.mp4`
|
||||||
video.controls = true
|
video.controls = true
|
||||||
video.controlsList = 'nodownload'
|
video.controlsList = 'nodownload'
|
||||||
document.querySelector('main').appendChild(video)
|
document.querySelector('main').appendChild(video)
|
||||||
|
|
|
@ -67,12 +67,12 @@
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<title>phantas.ma</title>
|
<title>njp.ma</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="box">
|
<div id="box">
|
||||||
<div id="shadowBox">
|
<div id="shadowBox">
|
||||||
<h1 class="rainbow rainbow_text_animated">Phantas.ma</h1>
|
<h1 class="rainbow rainbow_text_animated">njp.ma</h1>
|
||||||
<h2></h2>
|
<h2></h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
<meta property="og:title" content="{{ film.data.title }} {{ film.data.tile.zh }}"/>
|
<meta property="og:title" content="{{ film.data.title }} {{ film.data.tile.zh }}"/>
|
||||||
<meta property="og:type" content="movie"/>
|
<meta property="og:type" content="movie"/>
|
||||||
<meta property="og:url" content="https://phantas.ma{{ film.get_absolute_url }}"/>
|
<meta property="og:url" content="https://njp.ma{{ film.get_absolute_url }}"/>
|
||||||
<meta property="og:site_name" content="Phantas.ma"/>
|
<meta property="og:site_name" content="njp.ma"/>
|
||||||
<meta property="og:description" content="{% for director in film.data.director %}{{ director|safe }}{% endfor %}"/>
|
<meta property="og:description" content="{% for director in film.data.director %}{{ director|safe }}{% endfor %}"/>
|
||||||
|
|
||||||
<meta property="twitter:card" content="summary_large_image"/>
|
<meta property="twitter:card" content="summary_large_image"/>
|
||||||
|
|
|
@ -1,21 +1,17 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<meta name="title" content="Phantasmapolis"/>
|
<meta name="title" content="njp.ma"/>
|
||||||
<meta name="description" content="Looking back to the future"/>
|
<meta name="description" content="This archive was initiated in the context of CAMP After Media Promises"/>
|
||||||
<meta property="og:title" content="Phantasmapolis"/>
|
<meta property="og:title" content="njp.ma"/>
|
||||||
<meta content="https://phantas.ma/static/jpg/phantasmopolis.jpg" name="thumbnail"/>
|
|
||||||
<meta content="https://phantas.ma/static/jpg/phantasmopolis.jpg" name="image_src"/>
|
|
||||||
|
|
||||||
<meta property="og:url" content="https://phantas.ma/polis"/>
|
<meta property="og:url" content="https://njp.ma"/>
|
||||||
<meta property="og:type" content="website"/>
|
<meta property="og:type" content="website"/>
|
||||||
<meta property="og:title" content="Phantasmapolis" />
|
<meta property="og:title" content="njp.ma" />
|
||||||
<meta property="og:description" content="Looking back to the future"/>
|
<meta property="og:description" content="This archive was initiated in the context of CAMP After Media Promises"/>
|
||||||
<meta property="og:image" content="https://phantas.ma/static/jpg/phantasmopolis.jpg"/>
|
|
||||||
|
|
||||||
<meta property="twitter:card" content="summary_large_image"/>
|
<meta property="twitter:card" content="summary_large_image"/>
|
||||||
<meta property="twitter:title" content="Phantasmapolis" />
|
<meta property="twitter:title" content="njp.ma" />
|
||||||
<meta property="twitter:description" content="Looking back to the future"/>
|
<meta property="twitter:description" content="This archive was initiated in the context of CAMP After Media Promises"/>
|
||||||
<meta property="twitter:image" content="https://phantas.ma/static/jpg/phantasmopolis.jpg"/>
|
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
{% block body_class%}animated animated-text body--home{% endblock %}
|
{% block body_class%}animated animated-text body--home{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
@ -4,26 +4,15 @@
|
||||||
<meta name="description" content="{{ text.byline|striptags }}"/>
|
<meta name="description" content="{{ text.byline|striptags }}"/>
|
||||||
<meta property="og:title" content="{{ text.title }}"/>
|
<meta property="og:title" content="{{ text.title }}"/>
|
||||||
<meta property="og:type" content="movie"/>
|
<meta property="og:type" content="movie"/>
|
||||||
<meta property="og:url" content="https://phantas.ma{{ text.get_absolute_url }}"/>
|
<meta property="og:url" content="https://njp.ma{{ text.get_absolute_url }}"/>
|
||||||
<meta property="og:site_name" content="Phantas.ma"/>
|
<meta property="og:site_name" content="njp.ma"/>
|
||||||
<meta property="og:description" content="{{ text.byline|striptags }}"/>
|
<meta property="og:description" content="{{ text.byline|striptags }}"/>
|
||||||
|
|
||||||
|
|
||||||
<meta name="title" content="{{ text.title }}"/>
|
<meta name="title" content="{{ text.title }}"/>
|
||||||
<meta name="description" content="{{ text.byline|striptags }}"/>
|
<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:site_name" content="njp.ma"/>
|
||||||
<meta property="og:description" content="{% for director in text.data.director %}{{ director|safe }}{% endfor %}"/>
|
<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:card" content="summary_large_image"/>
|
||||||
|
|
Loading…
Reference in a new issue