You are here

flickr-photo-caption.html.twig in Flickr 8

{% if caption %}
  <p class="flickr-photo-caption">
    <span class="flickr-photo-caption-title">{{ caption_title }}</span>
    <span class="flickr-photo-caption-realname">by {{ caption_realname }}</span>
    <span class="flickr-photo-caption-dateuploaded">uploaded on {{ caption_dateuploaded|date(format='d M Y') }}</span>
  </p>
{% endif %}

File

templates/flickr-photo-caption.html.twig
View source
  1. {% if caption %}
  2. <p class="flickr-photo-caption">
  3. <span class="flickr-photo-caption-title">{{ caption_title }}</span>
  4. <span class="flickr-photo-caption-realname">by {{ caption_realname }}</span>
  5. <span class="flickr-photo-caption-dateuploaded">uploaded on {{ caption_dateuploaded|date(format='d M Y') }}</span>
  6. </p>
  7. {% endif %}