website/www/conservancy/templates/news/pressrelease_detail.html

29 lines
1 KiB
HTML
Raw Normal View History

{% extends "base_news.html" %}
{% block head %}
{% include "opengraph_partial.html" with url=object.get_absolute_url title=object.headline description=object.get_description %}
{% include "opengraph_urllist_partial.html" with property='image' urls=object.get_one_image_url fallback='/img/conservancy-logo.png' %}
{% include "opengraph_urllist_partial.html" with property='video' urls=object.get_one_video_url %}
{% endblock %}
{% block subtitle %}{{ object.headline|striptags|safe }} - {% endblock %}
{% block outercontent %}
<div id="container">
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
<h2>{% block category %}Media Contact{% endblock %}</h2>
{% include 'submenus/press_partial.html' %}
</div>
</div>
{% endblock %}
{% block content %}
<div id="mainContent">
<div class="breadcrumbs">
2021-10-18 13:56:24 +00:00
<p><a href="/">Home</a> / <a href="/news/">News</a></p>
</div>
{% include "news/pressrelease_partial.html" with pressr=object htag="h2" only %}
</div>
{% endblock %}