mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Clarify uglyurls flag.
Mention more clearly that, for generating `/filename.html`, you need to set the `uglyurls` flag to `true`.
This commit is contained in:
parent
3c3fc45d3c
commit
9308cd6a7a
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ Make sure either hugo is in your path or provide a path to it.
|
|||
--port="1313": port to run web server on, default :1313
|
||||
-S, --server=false: run a (very) simple web server
|
||||
-s, --source="": filesystem path to read files relative from
|
||||
--uglyurls=false: use /filename.html instead of /filename/
|
||||
--uglyurls=false: if true, use /filename.html instead of /filename/
|
||||
-v, --verbose=false: verbose output
|
||||
--version=false: which version of hugo
|
||||
-w, --watch=false: watch filesystem for changes and recreate as needed
|
||||
|
|
2
main.go
2
main.go
|
@ -42,7 +42,7 @@ var (
|
|||
watchMode = flag.BoolP("watch", "w", false, "watch filesystem for changes and recreate as needed")
|
||||
server = flag.BoolP("server", "S", false, "run a (very) simple web server")
|
||||
port = flag.String("port", "1313", "port to run web server on, default :1313")
|
||||
uglyUrls = flag.Bool("uglyurls", false, "use /filename.html instead of /filename/ ")
|
||||
uglyUrls = flag.Bool("uglyurls", false, "if true, use /filename.html instead of /filename/")
|
||||
)
|
||||
|
||||
func usage() {
|
||||
|
|
Loading…
Reference in a new issue