Images
Add a local or a remote image with Markdown. Images are lazyloaded, blurred up, and responsive.
See also the Markdown Guide: Images
Processing
Render hook template: ./layouts/_default/_markup/render-image.html
. An <img>
element is generated for small images, a <figure>
element for large images.
Settings
Set smallLimit
in ./config/_default/params.toml
, e.g. smallLimit = "360"
.
See also: Images
Add a local image
Place your local images in a page bundle:
..
├── blog/
│ ├── say-hello-to-doks/
│ │ ├── index.md
│ │ └── say-hello-to-doks.png
│ └── _index.md
└── _index.md
See also the Hugo docs: Page Bundles
Example

Will be processed into:
Add a remote image
Example

Will be processed into: