Stream: committers
Topic: ig publisher option to ignore files
Eric Haas (Nov 15 2017 at 17:56):
- all html file in the in pages directory are processed including looking for _included files. I would like a way to exclude certain files.
-checking Jekyll - I tried using _config.yml file in my root directory but that doesn't work *(didn't think it would).
Is there a way to do this and if not is it a reasonable request to make an exclude list in configuration file "ig.json" to update the _config.yml or whatever the tool uses to for creating output.
Grahame Grieve (Nov 16 2017 at 02:27):
doesn't jekyll ignore files that don't start with the jekyll header?
Eric Haas (Nov 16 2017 at 03:55):
well my use case is for the files that link to the top menu (e.g. operations.html) . I split the pages into a set of 'source' files and 'static' files that are unlikely to change from IG to IG. So there are more menu items than I need for a particular IG. I can always delete or rename the files but I'm trying to not touch them. So was hoping to find a way to exclude them.
Grahame Grieve (Nov 16 2017 at 04:57):
exclude them from what?
Eric Haas (Nov 16 2017 at 08:33):
this describes my situation: https://stackoverflow.com/questions/22750109/make-jekyll-ignore-some-html-files
I don't want the html files to processed by Jekyll since the _include files could be missing which causes the publish to fail.
Last updated: Apr 12 2022 at 19:14 UTC