In this example, images/thumbnail.jpg is only used as thumbnail for the "animals" album and not displayed in tits photos (need to add featured_image: images/thumbnail.jpg in the frontmatter of _index.md)
Note: if we remove img_000*.jpg from "animals" the album will now be hidden, since it has no images.
In some cases it might be desirable to show a list of albums and a list of photos (gallery) on one page.
=> Extract
page_album.html
fromsingle.html
to be able to include it into a customlist.html
:Since now all images are displayed, images that should only be used as album thumbnail (featured image) need to be moved to a sub-folder:
In this example,
images/thumbnail.jpg
is only used as thumbnail for the "animals" album and not displayed in tits photos (need to addfeatured_image: images/thumbnail.jpg
in the frontmatter of _index.md)Note: if we remove img_000*.jpg from "animals" the album will now be hidden, since it has no images.