templates/content/tmpl/podcast.html.twig line 1

Open in your IDE?
  1. {% extends "1-col-sidebar.html.twig" %}
  2. {# podcasts #}
  3. {% block column %}
  4.             {% if site_code == constant("App\\Entity\\Content::SITE_RCS") %}
  5.             
  6. {% include  "includes/curtain-ads/rlw.html.twig" %}
  7.             {% endif %}
  8.     {% if content.getShowTitle() %}
  9.         <h1>{{ content.getTitle() | raw }}</h1>
  10.     {% endif %}
  11.     
  12.     
  13.     {% if content.getFeaturedImageTag() %}
  14.         <center>
  15.     {% if content.getMediaURL() %}<a href="{{content.getMediaURL()}}">{% endif %}
  16.         
  17.         {{ content.getFeaturedImageTag("display-block","max-height: 350px;")|raw }}
  18.         
  19.         {% if content.getMediaURL() %}</a>{% endif %}
  20.         </center>
  21.     {% endif %}
  22.     
  23.     {#<p class="post-byline">{{ content.publishedat | date("F j, Y") }}</p>#}
  24.     
  25.     {# show full content #}
  26.     {% if content.getContentFull() is not empty %}
  27.         {{ content.getContentFull() | wordpress | raw }}
  28.     {% endif %}
  29.     {#social share buttons#}
  30.     {% include "includes/social-share.html.twig" %}
  31.     {# comments #}
  32.     {{ render(controller(
  33.         'App\\Controller\\RCS\\ContentController::comment',
  34.         { 'content': content }
  35.        ))
  36.     }}
  37. {% endblock %}