Closed Vctrsnts closed 4 months ago
Describe the bug I Work with docker bretfisher/jekyll-serve:latest with this versions:
bretfisher/jekyll-serve:latest
To Reproduce Steps to reproduce the behavior:
_config.yml
#
#collections: # portfolio: # output: true # permalink: /:collection/:name
Uncaught Error: SimpleJekyllSearch --- failed to get JSON (/assets/data/search.liquid) a http://192.6.0.40:4001/assets/js/vendor/simple-jekyll-search.min.js:6 SimpleJekyllSearch http://192.6.0.40:4001/assets/js/vendor/simple-jekyll-search.min.js:6 h http://192.6.0.40:4001/assets/js/vendor/simple-jekyll-search.min.js:6 load http://192.6.0.40:4001/assets/js/vendor/simple-jekyll-search.min.js:6 SimpleJekyllSearch http://192.6.0.40:4001/assets/js/vendor/simple-jekyll-search.min.js:6 <anonymous> http://192.6.0.40:4001/search/:35
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Additional context Add any other context about the problem here.
Ok I see where this is from, the JSON is created by looping through the collections. With no collection the JSON might get broken or the liquid template might be failing.
A fix has been merged 👍
Describe the bug I Work with docker
bretfisher/jekyll-serve:latest
with this versions:To Reproduce Steps to reproduce the behavior:
_config.yml
#
the lines about portfolio:Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Additional context Add any other context about the problem here.