Reduce duplicated code and automate more things

Also change styling for article captions (author/when published)
This commit is contained in:
2020-03-04 09:49:51 +00:00
parent 799d7c1ca9
commit d41b6e1135
18 changed files with 60 additions and 98 deletions

4
_includes/image.html Normal file
View 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 }} &bull; &copy; {{ include.copyright }}</figcaption>
</figure>