I use “draw io” to create diagrams and use the “draw io” CLI to render PNG files. When I want to publish my site the “draw io” files should be ignored. I tried the setting ignoreFiles = ["\\.drawio$"]
. But that does not have any effect. The “draw io” files are copied to the output folder.
My directory structure looks like this:
├── content
│ └── posts
│ └── 2021
│ └── 11
│ └── post-1
│ ├── img
│ │ ├── diagram-1.drawio
│ │ ├── diagram-1.png
│ │ ├── diagram-2.drawio
│ │ └── diagram-2.png
│ └── index.md
hugo config output
ignorefiles = [\.drawio$]
hugo version output (installed via homebrew):
hugo v0.89.4+extended darwin/amd64 BuildDate=unknown