Excluding files from jekyll

Published on Nov 5, 2022

#jekyll #blogging

Use the configuration option . https://jekyllrb.com/docs/configuration/options/ . See “Exclude”

Step 1 : Exclude in _config.yml

exclude:
  - _notes/.obsidian/app.json
  - _notes/.obsidian/core-plugins.json
  - _notes/.obsidian/hotkeys.json
  - _notes/.obsidian/workspace.json
  - _notes/.obsidian/appearance.json
  - _notes/.obsidian/graph.json
  - _notes/.obsidian/templates.json

#doesntwork Still keeps regenerating when these files change, and thes files are present in assts/*.json