0

I realize that it should be something like this: {filename}path/to/file or {attach}path/to/file but how to specify path in the template <img src="?"/> in order to render properly?

Alex
  • 153
  • 7

1 Answers1

0

What you are looking for is {static}path/to/file.

Furthermore, you don't have to specify the img tag in your templates.

Pelican (or rather docutils) takes care of it.

Edit:

With regard to lay-out, I tend to use:

.. image:: {static}/path/to/image.jpg
    :width: 100%
Roland Smith
  • 42,427
  • 3
  • 64
  • 94