{% comment %} This partial requires these parameters: * `pressr`: The PressRelease object to render. This partial accepts these optional parameters: * `show`: How much of the PressRelease to render. Accepted values are "headline", "dateline", "subhead", "summary", and "body". Every value will render the parts listed before it. Default "body". * `htag`: Name of the HTML tag to render the pressr headline. If you're passing show="subhead" or a greater detail level, this must be a headline tag h1 through h5, inclusive. Default "h3". {% endcomment %}
{{ pressr.pub_date|date:"F j, Y" }}
{% if show != "dateline" and show != "subhead" %} {% if pressr.summary %} {{ pressr.summary|safe }} {% endif %} {% if pressr.body %} {% if show == "summary" %} {% else %} {{ pressr.body|safe }} {% endif %} {% endif %} {% endif %} {% endif %}{# show != "headline" #}