Skip to content

Commit aa87d2c

Browse files
committedMay 5, 2015
document .islink
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 6a50bbe commit aa87d2c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎docs/manual.txt

+7-5
Original file line numberDiff line numberDiff line change
@@ -1240,14 +1240,16 @@ Annotations require JQuery and are therefore not supported in the base theme.
12401240
You can check bootstrap theme's ``base.html`` for details on how to handle them in
12411241
custom themes.
12421242

1243-
Image Galleries
1244-
---------------
1243+
Images and Galleries
1244+
--------------------
12451245

12461246
To create an image gallery, all you have to do is add a folder inside ``galleries``,
12471247
and put images there. Nikola will take care of creating thumbnails, index page, etc.
12481248

1249-
If you click on images on a gallery, you should see a bigger image, thanks to
1250-
the excellent `colorbox <http://www.jacklmoore.com/colorbox>`_
1249+
If you click on images on a gallery, or on images with links in post, you will
1250+
see a bigger image, thanks to the excellent `colorbox
1251+
<http://www.jacklmoore.com/colorbox>`_. If don’t want this behavior, add an
1252+
``.islink`` class to your image or link.
12511253

12521254
The gallery pages are generated using the ``gallery.tmpl`` template, and you can
12531255
customize it there (you could switch to another lightbox instead of colorbox, change
@@ -1271,7 +1273,7 @@ The ``conf.py`` options affecting images and gallery pages are these::
12711273
# {"source": "relative_destination"}. Images will be scaled down if necessary so
12721274
# that neither width nor height is greater than MAX_IMAGE_SIZE and copied to
12731275
# destination folder. A thumbnail will also be created in the same folder with
1274-
# ``.thumbnail`` inserted in the file name before the file extension
1276+
# ``.thumbnail`` inserted in the file name before the fileposts extension
12751277
# (e.g. ``tesla.thumbnail.jpg``).
12761278
IMAGE_FOLDERS = {'images': 'images'}
12771279
# More image/gallery options:

0 commit comments

Comments
 (0)
Please sign in to comment.