Vimux / Mainroad

Responsive, simple, clean and content-focused Hugo theme based on the MH Magazine lite WordPress theme
https://mainroad-demo.netlify.app/
GNU General Public License v2.0
932 stars 465 forks source link

Add Page Bundles and Image Processing support #57

Open linuxmail opened 6 years ago

linuxmail commented 6 years ago

Hi,

as a Hugo newbie, I'm asking me, how to add an image in a nic way. I already know {{< figure src="/blog/2018/images/foo.jpg " title="iRed" alt="Foo">}} and the markdown way ... but I don't understand the way, how to change (size/rotate/board/float) an image, is that theme like question (e.g with shortcode), or is that a real Hugo question ?

cu denny

Vimux commented 6 years ago

Hello, @linuxmail.

It's theme-like issue. Earlier, when I just created Mainroad, it was Hugo "issue" too.

I need to rewrite theme to implement Page Bundles, Hugo Image Processing and other modern Hugo stuff. It's not so easy and more importantly, need more time. I will do this, but I can not give any deadlines.


Hugo 0.32: Page Bundles and Image Processing! Page Resources Image Processing

ghost commented 6 years ago

+1 for this. This is a great theme, but it's not usable for me without image processing support. It results in a very bandwidth inefficient website and is no good for Google SEO etc.

stefkes commented 6 years ago

+1 for this, would be great!

mahoekst commented 4 years ago

would be nice, for now I added this to the theme: https://laurakalbag.com/processing-responsive-images-with-hugo/

menggus commented 3 years ago

Hi

Why does rendering an image work like this when I'm using the theme?

image

![image-20201207104756609](Percona & Percona XtraDB Cluster.assets/image-20201207104756609.png)

Antriel commented 2 years ago

What would need to change to implement Page Bundles? I don't know much about hugo internals/themes, and I didn't find any guide, but I would like to know how much effort it would be.