703df9c8e9
For now, this gives us more assurance that other sites will choose the preview we want. You can control the selection by adding data-ogpreview to image, video, and source elements. data-ogpreview=0 excludes the element from being included in the preview. Positive numbers set the preview priority. The lowest value found is chosen first.
20 lines
875 B
HTML
20 lines
875 B
HTML
{% extends "base_blog.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 }} - Conservancy Blog - {% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% include "blog/entry_partial.html" with entry=object htag="h2" only %}
|
|
|
|
<p class="blog-comments">Please email any comments on this entry to
|
|
<a href="mailto:info@sfconservancy.org">info@sfconservancy.org</a>.</p>
|
|
|
|
<p><span class="continued"><a href="/blog/">Other Conservancy Blog entries…</a></span></p>
|
|
|
|
{% endblock %}
|