Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HUGO-NEW(1)			  Hugo Manual			   HUGO-NEW(1)

NAME
       hugo-new	- Create new content for your site

SYNOPSIS
       hugo new	[path] [flags]

DESCRIPTION
       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.

OPTIONS
       --editor=""
	   edit	new content with this editor, if provided

       -f, --format="toml"
	   frontmatter format

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

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

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

OPTIONS	INHERITED FROM PARENT COMMANDS
       --config=""
	   config file (default	is path/config.yaml|json|toml)

       --log[=false]
	   enable Logging

       --logFile=""
	   log File path (if set, logging enabled automatically)

       --quiet[=false]
	   build in quiet mode

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

       --verboseLog[=false]
	   verbose logging

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

Hugo 0.22.1			   Jul 2017			   HUGO-NEW(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPTIONS INHERITED FROM PARENT COMMANDS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=hugo-new&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help