mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Reduce duplicated code and automate more things
Also change styling for article captions (author/when published)
This commit is contained in:
4
_includes/image.html
Normal file
4
_includes/image.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<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 }} • © {{ include.copyright }}</figcaption>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user