Provided by: hugo_0.52-1_amd64 bug


       hugo-new - Create new content for your site


       hugo new [path] [flags]


       Create a new content file and automatically set the date and title.  It will guess which
       kind of file to create based on the path provided.

       You can also specify the kind with -k KIND.

       If archetypes are provided in your theme or site, they will be used.

       Ensure you run this within the root directory of your site.


       -b, --baseURL=""
           hostname (and path) to the root, e.g.  ⟨, --buildDrafts[=false]
           include content marked as draft

       -E, --buildExpired[=false]
           include expired content

       -F, --buildFuture[=false]
           include content with publishdate in the future

           filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/

           remove files from destination not found in static directories

       -c, --contentDir=""
           filesystem path to content directory

       -d, --destination=""
           filesystem path to write files to

           disable different kind of pages (home, RSS etc.)

           edit new content with this editor, if provided

           add Git revision, date and author info to the pages

           copy all files when static is changed.

           enable to run some cleanup tasks (remove unused cache files) after the build

       -h, --help[=false]
           help for new

           print missing translations

           ignores the cache directory

       -k, --kind=""
           content type to create

       -l, --layoutDir=""
           filesystem path to layout directory

           minify any supported output format (HTML, XML etc.)

           don't sync permission mode of files

           don't sync modification time of files

       -s, --source=""
           filesystem path to read files relative from

           display memory and timing of different steps of the program

           display metrics about template executions

           calculate some improvement hints when combined with --templateMetrics

       -t, --theme=""
           theme to use (located in /themes/THEMENAME/)

           filesystem path to themes directory


           config file (default is path/config.yaml|json|toml)

           debug output

           enable Logging

           log File path (if set, logging enabled automatically)

           build in quiet mode

       -v, --verbose[=false]
           verbose output

           verbose logging


       hugo(1), hugo-new-site(1), hugo-new-theme(1)