Files
bbc-young-reporter/_includes/image.html
Matthew Grove d41b6e1135 Reduce duplicated code and automate more things
Also change styling for article captions (author/when published)
2020-03-04 09:49:51 +00:00

4 lines
307 B
HTML

<figure>
<img src="/images/{{ page.url | relative_url | remove: '.html' | replace: '/', '-' | remove: '-articles-' }}--extra-{{ include.id }}.jpg" style="width:100%;">
<figcaption class="mdc-typography--caption-text">{{ include.caption }} &bull; &copy; {{ include.copyright }}</figcaption>
</figure>