First question here and new to Ruby and Jekyll so forgive me if I miss some important details.
I'm trying to use bundle exec jekyll serve
to generate my static site, but I keep getting the following error message:
Liquid Exception: undefined method `fetch' for true:TrueClass in sitemap.xml
Edit: The problem was I had deleted/modified the something in my collections configuration in my _config.yml.
It should have been
collections:
my_collection:
output: true
...but instead was simply
collections:
output: true
Not sure if it was always like that, or if I had modified it somehow. Check your _config.yml!