mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 07:50:14 -04:00
Hugo 0.29
This commit is contained in:
parent
588499affc
commit
9cdd990ae1
@ -71,7 +71,7 @@ twitter = "GoHugoIO"
|
|||||||
[params]
|
[params]
|
||||||
description = "The world’s fastest framework for building websites"
|
description = "The world’s fastest framework for building websites"
|
||||||
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
||||||
release = "0.28"
|
release = "0.29"
|
||||||
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
||||||
removefromexternalsearch = false
|
removefromexternalsearch = false
|
||||||
## Gh repo for site footer (include trailing slash)
|
## Gh repo for site footer (include trailing slash)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo"
|
title: "hugo"
|
||||||
slug: hugo
|
slug: hugo
|
||||||
url: /commands/hugo/
|
url: /commands/hugo/
|
||||||
@ -56,6 +56,7 @@ hugo [flags]
|
|||||||
--renderToMemory render to memory (only useful for benchmark testing)
|
--renderToMemory render to memory (only useful for benchmark testing)
|
||||||
-s, --source string filesystem path to read files relative from
|
-s, --source string filesystem path to read files relative from
|
||||||
--stepAnalysis display memory and timing of different steps of the program
|
--stepAnalysis display memory and timing of different steps of the program
|
||||||
|
--templateMetrics display metrics about template executions
|
||||||
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
||||||
--themesDir string filesystem path to themes directory
|
--themesDir string filesystem path to themes directory
|
||||||
--uglyURLs if true, use /filename.html instead of /filename/
|
--uglyURLs if true, use /filename.html instead of /filename/
|
||||||
@ -78,4 +79,4 @@ hugo [flags]
|
|||||||
* [hugo undraft](/commands/hugo_undraft/) - Undraft resets the content's draft status
|
* [hugo undraft](/commands/hugo_undraft/) - Undraft resets the content's draft status
|
||||||
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
|
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo benchmark"
|
title: "hugo benchmark"
|
||||||
slug: hugo_benchmark
|
slug: hugo_benchmark
|
||||||
url: /commands/hugo_benchmark/
|
url: /commands/hugo_benchmark/
|
||||||
@ -50,6 +50,7 @@ hugo benchmark [flags]
|
|||||||
--renderToMemory render to memory (only useful for benchmark testing)
|
--renderToMemory render to memory (only useful for benchmark testing)
|
||||||
-s, --source string filesystem path to read files relative from
|
-s, --source string filesystem path to read files relative from
|
||||||
--stepAnalysis display memory and timing of different steps of the program
|
--stepAnalysis display memory and timing of different steps of the program
|
||||||
|
--templateMetrics display metrics about template executions
|
||||||
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
||||||
--themesDir string filesystem path to themes directory
|
--themesDir string filesystem path to themes directory
|
||||||
--uglyURLs if true, use /filename.html instead of /filename/
|
--uglyURLs if true, use /filename.html instead of /filename/
|
||||||
@ -70,4 +71,4 @@ hugo benchmark [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo check"
|
title: "hugo check"
|
||||||
slug: hugo_check
|
slug: hugo_check
|
||||||
url: /commands/hugo_check/
|
url: /commands/hugo_check/
|
||||||
@ -35,4 +35,4 @@ Contains some verification checks
|
|||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
|
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo check ulimit"
|
title: "hugo check ulimit"
|
||||||
slug: hugo_check_ulimit
|
slug: hugo_check_ulimit
|
||||||
url: /commands/hugo_check_ulimit/
|
url: /commands/hugo_check_ulimit/
|
||||||
@ -39,4 +39,4 @@ hugo check ulimit [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo check](/commands/hugo_check/) - Contains some verification checks
|
* [hugo check](/commands/hugo_check/) - Contains some verification checks
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo config"
|
title: "hugo config"
|
||||||
slug: hugo_config
|
slug: hugo_config
|
||||||
url: /commands/hugo_config/
|
url: /commands/hugo_config/
|
||||||
@ -38,4 +38,4 @@ hugo config [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo convert"
|
title: "hugo convert"
|
||||||
slug: hugo_convert
|
slug: hugo_convert
|
||||||
url: /commands/hugo_convert/
|
url: /commands/hugo_convert/
|
||||||
@ -42,4 +42,4 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
|
|||||||
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
|
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
|
||||||
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
|
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo convert toJSON"
|
title: "hugo convert toJSON"
|
||||||
slug: hugo_convert_toJSON
|
slug: hugo_convert_toJSON
|
||||||
url: /commands/hugo_convert_tojson/
|
url: /commands/hugo_convert_tojson/
|
||||||
@ -42,4 +42,4 @@ hugo convert toJSON [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo convert toTOML"
|
title: "hugo convert toTOML"
|
||||||
slug: hugo_convert_toTOML
|
slug: hugo_convert_toTOML
|
||||||
url: /commands/hugo_convert_totoml/
|
url: /commands/hugo_convert_totoml/
|
||||||
@ -42,4 +42,4 @@ hugo convert toTOML [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo convert toYAML"
|
title: "hugo convert toYAML"
|
||||||
slug: hugo_convert_toYAML
|
slug: hugo_convert_toYAML
|
||||||
url: /commands/hugo_convert_toyaml/
|
url: /commands/hugo_convert_toyaml/
|
||||||
@ -42,4 +42,4 @@ hugo convert toYAML [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo env"
|
title: "hugo env"
|
||||||
slug: hugo_env
|
slug: hugo_env
|
||||||
url: /commands/hugo_env/
|
url: /commands/hugo_env/
|
||||||
@ -38,4 +38,4 @@ hugo env [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo gen"
|
title: "hugo gen"
|
||||||
slug: hugo_gen
|
slug: hugo_gen
|
||||||
url: /commands/hugo_gen/
|
url: /commands/hugo_gen/
|
||||||
@ -38,4 +38,4 @@ A collection of several useful generators.
|
|||||||
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
|
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
|
||||||
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI
|
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo gen autocomplete"
|
title: "hugo gen autocomplete"
|
||||||
slug: hugo_gen_autocomplete
|
slug: hugo_gen_autocomplete
|
||||||
url: /commands/hugo_gen_autocomplete/
|
url: /commands/hugo_gen_autocomplete/
|
||||||
@ -56,4 +56,4 @@ hugo gen autocomplete [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo gen chromastyles"
|
title: "hugo gen chromastyles"
|
||||||
slug: hugo_gen_chromastyles
|
slug: hugo_gen_chromastyles
|
||||||
url: /commands/hugo_gen_chromastyles/
|
url: /commands/hugo_gen_chromastyles/
|
||||||
@ -43,4 +43,4 @@ hugo gen chromastyles [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo gen doc"
|
title: "hugo gen doc"
|
||||||
slug: hugo_gen_doc
|
slug: hugo_gen_doc
|
||||||
url: /commands/hugo_gen_doc/
|
url: /commands/hugo_gen_doc/
|
||||||
@ -45,4 +45,4 @@ hugo gen doc [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo gen man"
|
title: "hugo gen man"
|
||||||
slug: hugo_gen_man
|
slug: hugo_gen_man
|
||||||
url: /commands/hugo_gen_man/
|
url: /commands/hugo_gen_man/
|
||||||
@ -41,4 +41,4 @@ hugo gen man [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo import"
|
title: "hugo import"
|
||||||
slug: hugo_import
|
slug: hugo_import
|
||||||
url: /commands/hugo_import/
|
url: /commands/hugo_import/
|
||||||
@ -37,4 +37,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
|
|||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
|
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo import jekyll"
|
title: "hugo import jekyll"
|
||||||
slug: hugo_import_jekyll
|
slug: hugo_import_jekyll
|
||||||
url: /commands/hugo_import_jekyll/
|
url: /commands/hugo_import_jekyll/
|
||||||
@ -41,4 +41,4 @@ hugo import jekyll [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo import](/commands/hugo_import/) - Import your site from others.
|
* [hugo import](/commands/hugo_import/) - Import your site from others.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo list"
|
title: "hugo list"
|
||||||
slug: hugo_list
|
slug: hugo_list
|
||||||
url: /commands/hugo_list/
|
url: /commands/hugo_list/
|
||||||
@ -40,4 +40,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
|
|||||||
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
|
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
|
||||||
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
|
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo list drafts"
|
title: "hugo list drafts"
|
||||||
slug: hugo_list_drafts
|
slug: hugo_list_drafts
|
||||||
url: /commands/hugo_list_drafts/
|
url: /commands/hugo_list_drafts/
|
||||||
@ -39,4 +39,4 @@ hugo list drafts [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo list expired"
|
title: "hugo list expired"
|
||||||
slug: hugo_list_expired
|
slug: hugo_list_expired
|
||||||
url: /commands/hugo_list_expired/
|
url: /commands/hugo_list_expired/
|
||||||
@ -40,4 +40,4 @@ hugo list expired [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo list future"
|
title: "hugo list future"
|
||||||
slug: hugo_list_future
|
slug: hugo_list_future
|
||||||
url: /commands/hugo_list_future/
|
url: /commands/hugo_list_future/
|
||||||
@ -40,4 +40,4 @@ hugo list future [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo new"
|
title: "hugo new"
|
||||||
slug: hugo_new
|
slug: hugo_new
|
||||||
url: /commands/hugo_new/
|
url: /commands/hugo_new/
|
||||||
@ -48,4 +48,4 @@ hugo new [path] [flags]
|
|||||||
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
|
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
|
||||||
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
|
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo new site"
|
title: "hugo new site"
|
||||||
slug: hugo_new_site
|
slug: hugo_new_site
|
||||||
url: /commands/hugo_new_site/
|
url: /commands/hugo_new_site/
|
||||||
@ -43,4 +43,4 @@ hugo new site [path] [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo new theme"
|
title: "hugo new theme"
|
||||||
slug: hugo_new_theme
|
slug: hugo_new_theme
|
||||||
url: /commands/hugo_new_theme/
|
url: /commands/hugo_new_theme/
|
||||||
@ -42,4 +42,4 @@ hugo new theme [name] [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo server"
|
title: "hugo server"
|
||||||
slug: hugo_server
|
slug: hugo_server
|
||||||
url: /commands/hugo_server/
|
url: /commands/hugo_server/
|
||||||
@ -58,7 +58,7 @@ hugo server [flags]
|
|||||||
--memstats string log memory usage to this file
|
--memstats string log memory usage to this file
|
||||||
--navigateToChanged navigate to changed content file on live browser reload
|
--navigateToChanged navigate to changed content file on live browser reload
|
||||||
--noChmod don't sync permission mode of files
|
--noChmod don't sync permission mode of files
|
||||||
--noHTTPCache prevent HTTP caching (default true)
|
--noHTTPCache prevent HTTP caching
|
||||||
--noTimes don't sync modification time of files
|
--noTimes don't sync modification time of files
|
||||||
--pluralizeListTitles pluralize titles in lists using inflect (default true)
|
--pluralizeListTitles pluralize titles in lists using inflect (default true)
|
||||||
-p, --port int port on which the server will listen (default 1313)
|
-p, --port int port on which the server will listen (default 1313)
|
||||||
@ -66,6 +66,7 @@ hugo server [flags]
|
|||||||
--renderToDisk render to Destination path (default is render to memory & serve from there)
|
--renderToDisk render to Destination path (default is render to memory & serve from there)
|
||||||
-s, --source string filesystem path to read files relative from
|
-s, --source string filesystem path to read files relative from
|
||||||
--stepAnalysis display memory and timing of different steps of the program
|
--stepAnalysis display memory and timing of different steps of the program
|
||||||
|
--templateMetrics display metrics about template executions
|
||||||
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
-t, --theme string theme to use (located in /themes/THEMENAME/)
|
||||||
--themesDir string filesystem path to themes directory
|
--themesDir string filesystem path to themes directory
|
||||||
--uglyURLs if true, use /filename.html instead of /filename/
|
--uglyURLs if true, use /filename.html instead of /filename/
|
||||||
@ -87,4 +88,4 @@ hugo server [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo undraft"
|
title: "hugo undraft"
|
||||||
slug: hugo_undraft
|
slug: hugo_undraft
|
||||||
url: /commands/hugo_undraft/
|
url: /commands/hugo_undraft/
|
||||||
@ -40,4 +40,4 @@ hugo undraft path/to/content [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
date: 2017-09-25T08:30:15+02:00
|
date: 2017-09-26T21:11:49+02:00
|
||||||
title: "hugo version"
|
title: "hugo version"
|
||||||
slug: hugo_version
|
slug: hugo_version
|
||||||
url: /commands/hugo_version/
|
url: /commands/hugo_version/
|
||||||
@ -38,4 +38,4 @@ hugo version [flags]
|
|||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [hugo](/commands/hugo/) - hugo builds your site
|
* [hugo](/commands/hugo/) - hugo builds your site
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Sep-2017
|
###### Auto generated by spf13/cobra on 26-Sep-2017
|
||||||
|
47
content/news/0.29-relnotes-ready.md
Normal file
47
content/news/0.29-relnotes-ready.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
date: 2017-09-26
|
||||||
|
title: "Hugo 0.29: Template Metrics"
|
||||||
|
description: "Makes it easy to find template bottle necks."
|
||||||
|
categories: ["Releases"]
|
||||||
|
slug: "0.29-relnotes"
|
||||||
|
images:
|
||||||
|
- images/blog/hugo-29-poster.png
|
||||||
|
---
|
||||||
|
|
||||||
|
Hugo `0.29` brings Template Metrics by [@moorereason](https://github.com/moorereason). Hugo is very fast, but it is still possible to write ineffective templates. Now these should be easy to identify. Just run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
hugo --templateMetrics
|
||||||
|
```
|
||||||
|
Now, that was the tasty carrot. The real reason this release comes so fast after the last one is to change the default value for the new `noHTTPCache` flag, which gives away too much performance to make sense as a default value.
|
||||||
|
|
||||||
|
Hugo now has:
|
||||||
|
|
||||||
|
* 19817+ [stars](https://github.com/gohugoio/hugo/stargazers)
|
||||||
|
* 454+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
|
||||||
|
* 180+ [themes](http://themes.gohugo.io/)
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
* Make `noHTTPCache` default false [e94d4f01](https://github.com/gohugoio/hugo/commit/e94d4f0177852b357f40fb9686a0ff3667d86351) [@bep](https://github.com/bep)
|
||||||
|
|
||||||
|
## Enhancements
|
||||||
|
|
||||||
|
### Templates
|
||||||
|
* Add simple template metrics feature [b4a14c25](https://github.com/gohugoio/hugo/commit/b4a14c25fe85c41b79497be27ead128502a4dd7b) [@moorereason](https://github.com/moorereason)
|
||||||
|
* Set Metrics at creation time [b5e1dc58](https://github.com/gohugoio/hugo/commit/b5e1dc5892f81da798d0d4e964a1f3328532f45e) [@bep](https://github.com/bep)
|
||||||
|
* Fix sort order [d3681f51](https://github.com/gohugoio/hugo/commit/d3681f51c08fb11e8addcf9f0b484848d20d46cc) [@bep](https://github.com/bep)
|
||||||
|
* Add math.Ceil, Floor, and Round to method mappings [8a69d235](https://github.com/gohugoio/hugo/commit/8a69d2356703d9f2fcb75bce0ae514e70ebd8e01) [@moorereason](https://github.com/moorereason)
|
||||||
|
|
||||||
|
### Other
|
||||||
|
* Split go build in Dockerfile [d9697e27](https://github.com/gohugoio/hugo/commit/d9697e275ecb038958b3dcea2b43e11dcba28fc9) [@tjamet](https://github.com/tjamet)
|
||||||
|
* Update Dockerfile to benefit build cache [09d960f1](https://github.com/gohugoio/hugo/commit/09d960f17396eb7fd2c8fe6527db9503d59f0b4f) [@tjamet](https://github.com/tjamet)
|
||||||
|
* Add git to snap package for GitInfo [a3a3f5b8](https://github.com/gohugoio/hugo/commit/a3a3f5b86114213a23337499551f000662b26022) [@ghalse](https://github.com/ghalse)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
|||||||
[build]
|
[build]
|
||||||
publish = "public"
|
publish = "public"
|
||||||
command = "hugo"
|
command = "hugo"0.29
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.28"
|
HUGO_VERSION = "0.29"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.28"
|
HUGO_VERSION = "0.29"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.28"
|
HUGO_VERSION = "0.29"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
|
HUGO_BASEURL = "https://next--gohugoio.netlify.com/"
|
||||||
|
BIN
static/images/blog/hugo-29-poster.png
Normal file
BIN
static/images/blog/hugo-29-poster.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
Loading…
x
Reference in New Issue
Block a user