bvjsciencecentre/bvjsciencecentre.github.io

add gallery page

Closed this issue · 0 comments

Follow jekyll gallery generator

  • update menus.yml
  • create _layouts/gallery.html
  • create _layouts/galleries.html
  • add _sass/pages/_page-gallery.scss (clone _page-gallery and edit it)
  • add import statement (@import "pages/page-gallery";) in assets/css/style.scss
  • create _galleries folder
  • populate gallery file names in _galleries folder
  • In _config.yml, update collections
  • In _config.yml, update defaults
    type: "galleries"
    layout: "gallery"
  • create a galleries.md file
  • upload files to cloudinary and use the links