On Wed, 31 Aug 2016 19:51:17 -0700 (PDT)
Rodney Price <
r...@thirdoption.info> wrote:
Hello Rodney,
> I'm experimenting with nikola
Great choice. ;)
Here is the snippet from my conf.py:
IMAGE_FOLDERS = {'blog': 'blog', 'images' : 'images'}
My tree looks as:
$ ll
total 104K
drwxr-xr-x 34 gour gour 12K Kol 29 21:29 blog/
drwxr-xr-x 7 gour gour 82 Kol 28 20:39 cache/
-rw-r--r-- 1 gour gour 48K Kol 29 10:30 conf.py
drwxr-xr-x 4 gour gour 53 Kol 27 11:06 files/
drwxr-xr-x 3 gour gour 18 Kol 27 08:07 galleries/
drwxr-xr-x 2 gour gour 141 Kol 29 20:47 images/
drwxr-xr-x 3 gour gour 41 Kol 27 08:07 listings/
drwxr-xr-x 14 gour gour 4,0K Kol 29 22:46 output/
drwxr-xr-x 4 gour gour 57 Kol 29 22:04 plugins/
drwxr-xr-x 2 gour gour 33 Kol 29 10:30 __pycache__/
-rw-r--r-- 1 gour gour 309 Kol 27 08:06 README.txt
drwxr-xr-x 2 gour gour 6 Kol 27 12:07 stories/
drwxr-xr-x 2 gour gour 23 Kol 27 08:07 templates/
drwxr-xr-x 4 gour gour 43 Kol 28 17:45 themes/
So, I usually put images in the folder named as post, e.g.:
blog/my-post.md
blog/my-post/image-for-my-post.jpg
and reference them as:
.. thumbnail:: image-for-my-post.jpg
For the images which are in my /root-of-nikola-site/images folder, I
reference them as:
.. thumbnail:: /images/some-image-from-images-folder.jpg
Hope it helps. ;)
Sincerely,
Gour
--
Just try to learn the truth by approaching a spiritual master.
Inquire from him submissively and render service unto him.
The self-realized souls can impart knowledge unto you because
they have seen the truth.