raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

Issue with having more than one collections #86

Open ashBabu opened 1 month ago

ashBabu commented 1 month ago

Hi, I would like to add more than one collections in _config.yaml. The following is what I did

collections:
  applications:
    output: true
  videos:
    output: true
    order:
      - xta_motion.md
      - xta_sim.md
      - pipe_concept.md

collections_dir: collections_xtent

In the collections_xtent directory, I have added two directories, _applications and _videos, and a few markdown files. Then I added applications.html and videos.html. These files are copied from the already provided portfolio.html, the only difference being the site.data....portfolio.... is replacted with site.data....applications.... or site.data....videos..... I use jekyll-serve and run docker run -p 4000:4000 -v $(pwd):/site jekyll-serve under the directory containing the Gemfile.

The problem

The videos in my website have the markdown files of the applications.

The site is available video-slider branch

Any help would be appreciated Thanks