Ignore .md files in build with particular param set

14 views
Skip to first unread message

deep desai

unread,
Mar 1, 2018, 4:18:24 PM3/1/18
to Hugo Discuss
Hi,

My html files have logic to not render files with param, (say) "skip=true" in the .md file but those files are still present in the public folder on build.
Is there a way to not build those files altogether in public folder?

I know that hugo has ignoreFiles variable in configuration that ignores files from just rendering, but those files are still present in the build.

Any help is appreciated.
Thanks.
Reply all
Reply to author
Forward
0 new messages