Support oEmbed using the wirres.net mf2-to-oEmbed proxy :3

This commit is contained in:
Danielle McLean 2018-05-01 15:23:57 +10:00
parent c40372a020
commit 70d4579448
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -1,9 +1,10 @@
{% extends 'lemoncurry/layout.html' %} {% extends 'lemoncurry/layout.html' %}
{% load static %} {% load absolute_url static %}
{% block head %} {% block head %}
<link rel="amphtml" href="{{ entry.amp_url }}" /> <link rel="amphtml" href="{{ entry.amp_url }}" />
<link rel="shortlink" href="{{ entry.short_url }}" /> <link rel="shortlink" href="{{ entry.short_url }}" />
<link rel="alternate" type="application/json+oembed" href="https://wirres.net/oembed/oembed.php?url={{ uri | absolute_url | urlencode }}" />
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}