lib.itmens/catalog/templates/podcastepisode.html

26 lines
1 KiB
HTML
Raw Normal View History

2023-01-31 21:21:50 -05:00
{% extends "item_base.html" %}
{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load strip_scheme %}
{% load thumb %}
{% block head %}
2024-01-22 23:19:04 -05:00
{% if item.parent_item %}
<meta http-equiv="refresh"
content="0;url={{ item.parent_item.url }}?focus={{ item.uuid }}{% if request.GET.position %}&position={{ request.GET.position }}{% endif %}" />
{% endif %}
<meta property="og:image"
2024-04-06 11:53:31 -04:00
content="{{ item.cover_url|default:item.program.cover_image_url }}">
<meta property="twitter:image"
2024-04-06 11:53:31 -04:00
content="{{ item.cover_url|default:item.program.cover_image_url }}">
2024-01-22 23:19:04 -05:00
{% if item.media_url and item.parent_item %}
<meta property="twitter:card" content="player">
<meta property="twitter:player"
content="{{ item.program.absolute_url }}/embed?focus={{ item.uuid }}{% if request.GET.position %}&position={{ request.GET.position }}{% endif %}" />
<meta property="twitter:player:width" content="300">
<meta property="twitter:player:height" content="120">
{% endif %}
2023-01-31 21:21:50 -05:00
{% endblock %}