reorx / hugo-PaperModX

A fast, clean, responsive Hugo theme.
https://reorx.github.io/hugo-PaperModX/
MIT License
318 stars 84 forks source link

Responsive figures #57

Open daviddavo opened 1 year ago

daviddavo commented 1 year ago

I fused figure.html and cover.html into a new partial that should create better responsive figures

I can make a PR if you want

https://github.com/daviddavo/blog.ddavo.me/blob/main/layouts/shortcodes/figure.html

RoneoOrg commented 1 year ago

Hi @daviddavo ,

how to use this shortcode / how the syntax and options look like ?

daviddavo commented 1 year ago

It supposedly replaces the figure shortcode, with the same options. I haven't tested all the options, I wanted to know if there was some demand first