Hi,
I mean to produce a different version of the site through a command line parameter, and an additional config:
hugo --minify --gc --config expurged-version.toml hugo.toml
But then I need to not render pages not made for the expurged version of the site. On the doc I can only target through kind, lang, and path. If I can’t, then I’ll have to rename the undesired files in the script.
No I’m not separating the content that way, just too bothersome. However… I can create empty versions of the undesired files, with a header asking for not building the file. Pretty counter-intuitive, creating a file not to render it, but it should overwrite the files with same names.
Works !! Thanks.