Squashed 'docs/' changes from 341ecabb2..988f7d5c2
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 9 Mar 2020 19:19:32 +0000 (20:19 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 9 Mar 2020 19:19:32 +0000 (20:19 +0100)
988f7d5c2 Document default `enableInlineShortcodes` value
0f604a345 Fix typo in 0.66.0 release note
26fc74fe3 How to access individual EXIF data tags
d5d3bad9a Fix localhost links
fa6921213 Update index.md
5bf558f78 Release 0.66.0
74ccdaaf5 Merge branch 'temp660'
75faa478b releaser: Add release notes to /docs for release of 0.66.0
c4a4a9922 docs: Regen CLI docs
0624ac198 Add build.UseResourceCacheWhen
58a8d7cd1 Add build options documentation
d926c595e fix typo
99713d44b resources: Add basic @import support to resources.PostCSS
224b96cf7 deploy: Implement include/exclude filters for deploy
eb1a00050 Adjusting description; WordPress with capitalized P
91d8efa22 Add another tool for migration from the Wordpress
a6938a4ac Adjust showcase description
a9c0a0a69 Adjust showcase
e5af08aa6 Adding Aether as a proposed showcase item.
0013daa34 Add hugo.IsProduction function
34c419ef3 tpl: Add math.Sqrt
5bdab0ebd Update minification.md
9039332e2 Hugo 0.65.3
1400caf3a Merge branch 'temp653'
9796bb337 releaser: Add release notes to /docs for release of 0.65.3
65b26598f Fix typo
23aa57d80 Fix crashes for 404 in IsAncestor etc.
42c54bc6c 0.65.2
67fd5c1f6 Merge branch 'temp652'
d820ac017 releaser: Add release notes to /docs for release of 0.65.2
51f0888ff Release 0.65.1
91e95260c releaser: Add release notes to /docs for release of 0.65.1
1880ebf05 fix broken link on internal.md
ffaa33889 Update migrations.md
de4d64675 Another tool for migration from Medium platform
90b178d77 releaser: Add release notes to /docs for release of 0.65.1
6925cda30 Handle corner case with rendering text as code in URL
3cb4b19dd Release 0.65.0
7a600cb99 Merge branch 'temp650'
ef9531ff6 releaser: Add release notes to /docs for release of 0.65.0
9bc19606f docs: Regenerate CLI docs
d4a886ed2 Add Page.GetTerms
a3bf273a5 fix broken link on use-modules.md
001f52f4e Fix mage URL in development.md
eef72e887 Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
b18a76631 commands: Support "hugo mod get -u ./..."

git-subtree-dir: docs
git-subtree-split: 988f7d5c2d7a1d40ec2c8ab961cb5a4e41b5bd4c

77 files changed:
content/en/commands/hugo.md
content/en/commands/hugo_check.md
content/en/commands/hugo_check_ulimit.md
content/en/commands/hugo_config.md
content/en/commands/hugo_config_mounts.md
content/en/commands/hugo_convert.md
content/en/commands/hugo_convert_toJSON.md
content/en/commands/hugo_convert_toTOML.md
content/en/commands/hugo_convert_toYAML.md
content/en/commands/hugo_deploy.md
content/en/commands/hugo_env.md
content/en/commands/hugo_gen.md
content/en/commands/hugo_gen_autocomplete.md
content/en/commands/hugo_gen_chromastyles.md
content/en/commands/hugo_gen_doc.md
content/en/commands/hugo_gen_man.md
content/en/commands/hugo_import.md
content/en/commands/hugo_import_jekyll.md
content/en/commands/hugo_list.md
content/en/commands/hugo_list_all.md
content/en/commands/hugo_list_drafts.md
content/en/commands/hugo_list_expired.md
content/en/commands/hugo_list_future.md
content/en/commands/hugo_mod.md
content/en/commands/hugo_mod_clean.md
content/en/commands/hugo_mod_get.md
content/en/commands/hugo_mod_graph.md
content/en/commands/hugo_mod_init.md
content/en/commands/hugo_mod_tidy.md
content/en/commands/hugo_mod_vendor.md
content/en/commands/hugo_mod_verify.md [new file with mode: 0644]
content/en/commands/hugo_new.md
content/en/commands/hugo_new_site.md
content/en/commands/hugo_new_theme.md
content/en/commands/hugo_server.md
content/en/commands/hugo_version.md
content/en/content-management/build-options.md [new file with mode: 0644]
content/en/content-management/image-processing/index.md
content/en/content-management/shortcodes.md
content/en/contribute/development.md
content/en/functions/hugo.md
content/en/functions/math.md
content/en/getting-started/configuration-markup.md
content/en/getting-started/configuration.md
content/en/hosting-and-deployment/hugo-deploy.md
content/en/hugo-modules/use-modules.md
content/en/hugo-pipes/minification.md
content/en/hugo-pipes/postcss.md
content/en/news/0.65.0-relnotes/hugo-65-poster-featured.png [new file with mode: 0644]
content/en/news/0.65.0-relnotes/index.md [new file with mode: 0644]
content/en/news/0.65.0-relnotes/pg-admin-tos.png [new file with mode: 0644]
content/en/news/0.65.1-relnotes/index.md [new file with mode: 0644]
content/en/news/0.65.2-relnotes/index.md [new file with mode: 0644]
content/en/news/0.65.3-relnotes/index.md [new file with mode: 0644]
content/en/news/0.66.0-relnotes/hugo-66-poster-featured.png [new file with mode: 0644]
content/en/news/0.66.0-relnotes/index.md [new file with mode: 0644]
content/en/readfiles/sectionvars.md
content/en/showcase/aether/bio.md [new file with mode: 0644]
content/en/showcase/aether/featured.png [new file with mode: 0644]
content/en/showcase/aether/index.md [new file with mode: 0644]
content/en/templates/internal.md
content/en/templates/output-formats.md
content/en/templates/taxonomy-templates.md
content/en/tools/migrations.md
netlify.toml
resources/_gen/images/news/0.44-relnotes/featured-hugo-44-poster_hu6505d1982bab71bfe9c6c7adcedfd7f7_77631_640x0_resize_catmullrom_2.png [deleted file]
resources/_gen/images/news/0.45-relnotes/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_640x0_resize_catmullrom_2.png [deleted file]
resources/_gen/images/news/0.46-relnotes/featured-hugo-46-poster_hue04c7655caa254a1835311c9409185d8_68614_640x0_resize_catmullrom_2.png [deleted file]
resources/_gen/images/news/0.47-relnotes/featured-hugo-47-poster_hud3879b84908b49d38ac2cd1416f654ff_88288_640x0_resize_catmullrom_2.png [deleted file]
resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_480x0_resize_catmullrom_2.png [new file with mode: 0644]
resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_640x0_resize_catmullrom_2.png [new file with mode: 0644]
resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_480x0_resize_catmullrom_2.png [new file with mode: 0644]
resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_640x0_resize_catmullrom_2.png [new file with mode: 0644]
resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_1024x512_fill_catmullrom_top_2.png [new file with mode: 0644]
resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_640x0_resize_catmullrom_2.png [new file with mode: 0644]
resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_989c7e76c2c712f873e3f3bc40d31e81.png [new file with mode: 0644]
resources/_gen/images/showcase/arolla-cocoon/featured-template_hu22aab819ab27e4f878d1ff0b7cf78050_451984_640x0_resize_catmullrom_2.png [deleted file]

index a802271bd306db724594c21df123aa5810ff900d..fe519d39765da536e1b90e30c65d915bb94f3071 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo"
 slug: hugo
 url: /commands/hugo/
@@ -15,7 +15,7 @@ hugo is the main command, used to build your Hugo site.
 Hugo is a Fast and Flexible Static Site Generator
 built with love by spf13 and friends in Go.
 
-Complete documentation is available at https://gohugo.io/.
+Complete documentation is available at http://gohugo.io/.
 
 ```
 hugo [flags]
@@ -24,7 +24,7 @@ hugo [flags]
 ### Options
 
 ```
-  -b, --baseURL string         hostname (and path) to the root, e.g. https://spf13.com/
+  -b, --baseURL string         hostname (and path) to the root, e.g. http://spf13.com/
   -D, --buildDrafts            include content marked as draft
   -E, --buildExpired           include expired content
   -F, --buildFuture            include content with publishdate in the future
@@ -79,4 +79,4 @@ hugo [flags]
 * [hugo server](/commands/hugo_server/)         - A high performance webserver
 * [hugo version](/commands/hugo_version/)       - Print the version number of Hugo
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index fc727476afe8debcb83856ebe0ba847015a32e02..7c515e48d1c15dda990b1d4cd8bf65609f613ee8 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo check"
 slug: hugo_check
 url: /commands/hugo_check/
@@ -40,4 +40,4 @@ Contains some verification checks
 * [hugo](/commands/hugo/)       - hugo builds your site
 * [hugo check ulimit](/commands/hugo_check_ulimit/)     - Check system ulimit settings
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 478c9a850e42a591fecb632db5d836a312d18b18..fec6f7a375e99877d1acaf60050873ab17438b3d 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo check ulimit"
 slug: hugo_check_ulimit
 url: /commands/hugo_check_ulimit/
@@ -44,4 +44,4 @@ hugo check ulimit [flags]
 
 * [hugo check](/commands/hugo_check/)   - Contains some verification checks
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 6e1094903ee324cd932d2229c7f84e47bc96a794..40b9478512a6502c9388dc17b7f4b9583e82ed43 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo config"
 slug: hugo_config
 url: /commands/hugo_config/
@@ -44,4 +44,4 @@ hugo config [flags]
 * [hugo](/commands/hugo/)       - hugo builds your site
 * [hugo config mounts](/commands/hugo_config_mounts/)   - Print the configured file mounts
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 98cd6f9eb036e0ed68b0b803eb5f1c3de102fc9b..c2de5481219ff54bed13336a1f3344a42b5271c8 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo config mounts"
 slug: hugo_config_mounts
 url: /commands/hugo_config_mounts/
@@ -43,4 +43,4 @@ hugo config mounts [flags]
 
 * [hugo config](/commands/hugo_config/)         - Print the site configuration
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 1e85b72f1900ac7137a458201a13e36752bb5646..47132c5738a7f2ad71c8ed1fb739cc136c829cac 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo convert"
 slug: hugo_convert
 url: /commands/hugo_convert/
@@ -46,4 +46,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 toYAML](/commands/hugo_convert_toyaml/)         - Convert front matter to YAML
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 484d942e6e40876199cc5fea110d782358f6310a..df46d01d5426b0090a98278c6b257c941f452c67 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo convert toJSON"
 slug: hugo_convert_toJSON
 url: /commands/hugo_convert_tojson/
@@ -46,4 +46,4 @@ hugo convert toJSON [flags]
 
 * [hugo convert](/commands/hugo_convert/)       - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 53f25cf66c727b229d94cf2a769aa3c02c2efe66..dd80cb7a5c7241008ce54bcbcc69f768d3ba3654 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo convert toTOML"
 slug: hugo_convert_toTOML
 url: /commands/hugo_convert_totoml/
@@ -46,4 +46,4 @@ hugo convert toTOML [flags]
 
 * [hugo convert](/commands/hugo_convert/)       - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 4173883d824acadbce267a433c3967677d0047b9..9397aee3473f01090d11cf2e0bf7ee2df6fab046 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo convert toYAML"
 slug: hugo_convert_toYAML
 url: /commands/hugo_convert_toyaml/
@@ -46,4 +46,4 @@ hugo convert toYAML [flags]
 
 * [hugo convert](/commands/hugo_convert/)       - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 054a16d42ee0a48c5e2d4089fcc9105d82b0aa65..ed208fc6825df2292ccf14a95fcd71a3d5077009 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo deploy"
 slug: hugo_deploy
 url: /commands/hugo_deploy/
@@ -27,7 +27,7 @@ hugo deploy [flags]
       --dryRun           dry run
       --force            force upload of all files
   -h, --help             help for deploy
-      --invalidateCDN    invalidate the CDN cache via the cloudFrontDistributionID listed in the deployment target (default true)
+      --invalidateCDN    invalidate the CDN cache listed in the deployment target (default true)
       --maxDeletes int   maximum # of files to delete, or -1 to disable (default 256)
       --target string    target deployment from deployments section in config file; defaults to the first one
 ```
@@ -53,4 +53,4 @@ hugo deploy [flags]
 
 * [hugo](/commands/hugo/)       - hugo builds your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 5d134d69320b0b64c5bc27a937eccbb62594f936..1344f495d291bb543b62113bfa986a05bb20d6b8 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo env"
 slug: hugo_env
 url: /commands/hugo_env/
@@ -43,4 +43,4 @@ hugo env [flags]
 
 * [hugo](/commands/hugo/)       - hugo builds your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index e195882def39d6bbb15570d96162357b9636b176..44ca1a12ec6144899133f3df9b65097397b0ceba 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo gen"
 slug: hugo_gen
 url: /commands/hugo_gen/
@@ -43,4 +43,4 @@ A collection of several useful generators.
 * [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
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 0c4657a8723673f2291af05fd47670e755ef6308..f0e82ede1ece88008f85de8b1a7dc0951b88f217 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo gen autocomplete"
 slug: hugo_gen_autocomplete
 url: /commands/hugo_gen_autocomplete/
@@ -61,4 +61,4 @@ hugo gen autocomplete [flags]
 
 * [hugo gen](/commands/hugo_gen/)       - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index c893a7f333200bb700a482e07faafc2c11d6f488..198fe1db6115bfbd1c3c0088b6a012a42f2f177f 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo gen chromastyles"
 slug: hugo_gen_chromastyles
 url: /commands/hugo_gen_chromastyles/
@@ -48,4 +48,4 @@ hugo gen chromastyles [flags]
 
 * [hugo gen](/commands/hugo_gen/)       - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index cda495090f856e204afe4c4b8583af83ed6e3b05..2c003a9721924f7448c9735f382497b8708d5447 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo gen doc"
 slug: hugo_gen_doc
 url: /commands/hugo_gen_doc/
@@ -13,7 +13,7 @@ Generate Markdown documentation for the Hugo CLI.
 Generate Markdown documentation for the Hugo CLI.
 
 This command is, mostly, used to create up-to-date documentation
-of Hugo's command-line interface for https://gohugo.io/.
+of Hugo's command-line interface for http://gohugo.io/.
 
 It creates one Markdown file per command with front matter suitable
 for rendering in Hugo.
@@ -50,4 +50,4 @@ hugo gen doc [flags]
 
 * [hugo gen](/commands/hugo_gen/)       - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index a6f7b7534a0ba24030374faa0f36396c3e029791..47416cd23628d7bd71680c7a44db91fda9dff679 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo gen man"
 slug: hugo_gen_man
 url: /commands/hugo_gen_man/
@@ -46,4 +46,4 @@ hugo gen man [flags]
 
 * [hugo gen](/commands/hugo_gen/)       - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 67b91e66cfe907c924e67aacb4e8940f53d2589c..7b2b5cf5de7a1e75736e0eb1babd38c7b6cb3836 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo import"
 slug: hugo_import
 url: /commands/hugo_import/
@@ -42,4 +42,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
 * [hugo](/commands/hugo/)       - hugo builds your site
 * [hugo import jekyll](/commands/hugo_import_jekyll/)   - hugo import from Jekyll
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index e126c2107306221670d93010d59b7d633b6a6d83..006c673587bb93b0a12de9fab73bde7f44df3976 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo import jekyll"
 slug: hugo_import_jekyll
 url: /commands/hugo_import_jekyll/
@@ -46,4 +46,4 @@ hugo import jekyll [flags]
 
 * [hugo import](/commands/hugo_import/)         - Import your site from others.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 16bd1933e10d3b0d358f764be412f8906968d0a7..bd15cb0fee9bcf1f07d060bfead62c780eb1532b 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo list"
 slug: hugo_list
 url: /commands/hugo_list/
@@ -45,4 +45,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
 * [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
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 6a820ee18203c0cac6d18b5eec963a7e1acf0f65..73456867d55447e3d2f65828494ec7886817c549 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo list all"
 slug: hugo_list_all
 url: /commands/hugo_list_all/
@@ -43,4 +43,4 @@ hugo list all [flags]
 
 * [hugo list](/commands/hugo_list/)     - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 2dff180402f6a7aba0eac0a7e260653a435fb651..4806ee560ccdafa30c053700fdcf1df0d1487752 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo list drafts"
 slug: hugo_list_drafts
 url: /commands/hugo_list_drafts/
@@ -43,4 +43,4 @@ hugo list drafts [flags]
 
 * [hugo list](/commands/hugo_list/)     - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 1703d92776bbf73b9f3cb93966ccc4b3033b3539..c6fc46c5fcb84ccac03002ca3c508e4a286db6cd 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo list expired"
 slug: hugo_list_expired
 url: /commands/hugo_list_expired/
@@ -43,4 +43,4 @@ hugo list expired [flags]
 
 * [hugo list](/commands/hugo_list/)     - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index bb4621484397b1eadb0811cae93159024eb9983a..070104f526e599f0fba295cf76f0ecf4d748a5b0 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo list future"
 slug: hugo_list_future
 url: /commands/hugo_list_future/
@@ -43,4 +43,4 @@ hugo list future [flags]
 
 * [hugo list](/commands/hugo_list/)     - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index f34cba2f3658a867ad956a9eda8113ef34d9650b..64ccb14b3657145b7995c10f2112010832fa3e2a 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod"
 slug: hugo_mod
 url: /commands/hugo_mod/
@@ -27,7 +27,7 @@ See https://gohugo.io/hugo-modules/ for more information.
 ### Options
 
 ```
-  -b, --baseURL string         hostname (and path) to the root, e.g. https://spf13.com/
+  -b, --baseURL string         hostname (and path) to the root, e.g. http://spf13.com/
   -D, --buildDrafts            include content marked as draft
   -E, --buildExpired           include expired content
   -F, --buildFuture            include content with publishdate in the future
@@ -73,11 +73,12 @@ See https://gohugo.io/hugo-modules/ for more information.
 ### SEE ALSO
 
 * [hugo](/commands/hugo/)       - hugo builds your site
-* [hugo mod clean](/commands/hugo_mod_clean/)   - Delete the entire Hugo Module cache.
+* [hugo mod clean](/commands/hugo_mod_clean/)   - Delete the Hugo Module cache for the current project.
 * [hugo mod get](/commands/hugo_mod_get/)       - Resolves dependencies in your current Hugo Project.
 * [hugo mod graph](/commands/hugo_mod_graph/)   - Print a module dependency graph.
 * [hugo mod init](/commands/hugo_mod_init/)     - Initialize this project as a Hugo Module.
 * [hugo mod tidy](/commands/hugo_mod_tidy/)     - Remove unused entries in go.mod and go.sum.
 * [hugo mod vendor](/commands/hugo_mod_vendor/)         - Vendor all module dependencies into the _vendor directory.
+* [hugo mod verify](/commands/hugo_mod_verify/)         - Verify dependencies.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index ef21ddfcde613cb1b106b54eb6384a8b7ac8c487..ff982f9f68fba3a1ff59c71f88bb62cb16ba702a 100644 (file)
@@ -1,16 +1,16 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod clean"
 slug: hugo_mod_clean
 url: /commands/hugo_mod_clean/
 ---
 ## hugo mod clean
 
-Delete the entire Hugo Module cache.
+Delete the Hugo Module cache for the current project.
 
 ### Synopsis
 
-Delete the entire Hugo Module cache.
+Delete the Hugo Module cache for the current project.
 
 Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo".
 
@@ -25,7 +25,9 @@ hugo mod clean [flags]
 ### Options
 
 ```
-  -h, --help   help for clean
+      --all              clean entire module cache
+  -h, --help             help for clean
+      --pattern string   pattern matching module paths to clean (all if not set), e.g. "**hugo*"
 ```
 
 ### Options inherited from parent commands
@@ -49,4 +51,4 @@ hugo mod clean [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 678bcded5c64bd44f94a191ca06d605793b847cd..7de0048bbc20fa0ca06c6acde342ec1428273de8 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod get"
 slug: hugo_mod_get
 url: /commands/hugo_mod_get/
@@ -26,6 +26,7 @@ Install a specific version:
 Install the latest versions of all module dependencies:
 
     hugo mod get -u
+    hugo mod get -u ./... (recursive)
 
 Run "go help get" for more information. All flags available for "go get" is also relevant here.
 
@@ -68,4 +69,4 @@ hugo mod get [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 397283180e60592ce530c356311077a9ca0603f6..ee01c8436db56af956ddf324c05c63028b726450 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod graph"
 slug: hugo_mod_graph
 url: /commands/hugo_mod_graph/
@@ -45,4 +45,4 @@ hugo mod graph [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 53c5412f177835888cf75d600d77b07e44c6585f..742df7c2aaa925a1df8e2bb52b9abaab18d1ec85 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod init"
 slug: hugo_mod_init
 url: /commands/hugo_mod_init/
@@ -50,4 +50,4 @@ hugo mod init [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 68e7ac2d157d1073208cef2ed4bab3c560c70ccf..31b138298c39155b4b48ff34886aef36ac43256b 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod tidy"
 slug: hugo_mod_tidy
 url: /commands/hugo_mod_tidy/
@@ -43,4 +43,4 @@ hugo mod tidy [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index f3beb1253b6a1fc1e56e6b5ae833e52e241942dd..1c838e01b3ffe6867c573f24659bda2ea8ffc061 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo mod vendor"
 slug: hugo_mod_vendor
 url: /commands/hugo_mod_vendor/
@@ -46,4 +46,4 @@ hugo mod vendor [flags]
 
 * [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
diff --git a/content/en/commands/hugo_mod_verify.md b/content/en/commands/hugo_mod_verify.md
new file mode 100644 (file)
index 0000000..29292b8
--- /dev/null
@@ -0,0 +1,48 @@
+---
+date: 2020-03-03
+title: "hugo mod verify"
+slug: hugo_mod_verify
+url: /commands/hugo_mod_verify/
+---
+## hugo mod verify
+
+Verify dependencies.
+
+### Synopsis
+
+Verify checks that the dependencies of the current module, which are stored in a local downloaded source cache, have not been modified since being downloaded.
+
+
+```
+hugo mod verify [flags]
+```
+
+### Options
+
+```
+      --clean   delete module cache for dependencies that fail verification
+  -h, --help    help for verify
+```
+
+### Options inherited from parent commands
+
+```
+      --config string        config file (default is path/config.yaml|json|toml)
+      --configDir string     config dir (default "config")
+      --debug                debug output
+  -e, --environment string   build environment
+      --ignoreVendor         ignores any _vendor directory
+      --log                  enable Logging
+      --logFile string       log File path (if set, logging enabled automatically)
+      --quiet                build in quiet mode
+  -s, --source string        filesystem path to read files relative from
+      --themesDir string     filesystem path to themes directory
+  -v, --verbose              verbose output
+      --verboseLog           verbose logging
+```
+
+### SEE ALSO
+
+* [hugo mod](/commands/hugo_mod/)       - Various Hugo Modules helpers.
+
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 4587f44752c1e2a39c6f12850c6ae4d574da186d..a8b8458c33c9313c4064f96c0e36cfdd8396c4dd 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo new"
 slug: hugo_new
 url: /commands/hugo_new/
@@ -26,7 +26,7 @@ hugo new [path] [flags]
 ### Options
 
 ```
-  -b, --baseURL string         hostname (and path) to the root, e.g. https://spf13.com/
+  -b, --baseURL string         hostname (and path) to the root, e.g. http://spf13.com/
   -D, --buildDrafts            include content marked as draft
   -E, --buildExpired           include expired content
   -F, --buildFuture            include content with publishdate in the future
@@ -77,4 +77,4 @@ hugo new [path] [flags]
 * [hugo new site](/commands/hugo_new_site/)     - Create a new site (skeleton)
 * [hugo new theme](/commands/hugo_new_theme/)   - Create a new theme
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 29ab9e8ef59dc820ef2f6df39a2faf34eaeb2d1d..df662d351cf6c74645ca7ac123b71e381cc5a47c 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo new site"
 slug: hugo_new_site
 url: /commands/hugo_new_site/
@@ -47,4 +47,4 @@ hugo new site [path] [flags]
 
 * [hugo new](/commands/hugo_new/)       - Create new content for your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 8a97aad97a4d6045b6b7c4362dcb8f384c70a5af..87026cdcd3a6f5561c1b0683ba6d9bb16fa4a45f 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo new theme"
 slug: hugo_new_theme
 url: /commands/hugo_new_theme/
@@ -46,4 +46,4 @@ hugo new theme [name] [flags]
 
 * [hugo new](/commands/hugo_new/)       - Create new content for your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index 7d64bdc3303168c562f980929035070244f99b15..96cf3f16dbbb1b9d5341d9ac4090d4f43d4645cd 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo server"
 slug: hugo_server
 url: /commands/hugo_server/
@@ -31,7 +31,7 @@ hugo server [flags]
 
 ```
       --appendPort             append port to baseURL (default true)
-  -b, --baseURL string         hostname (and path) to the root, e.g. https://spf13.com/
+  -b, --baseURL string         hostname (and path) to the root, e.g. http://spf13.com/
       --bind string            interface to which the server will bind (default "127.0.0.1")
   -D, --buildDrafts            include content marked as draft
   -E, --buildExpired           include expired content
@@ -90,4 +90,4 @@ hugo server [flags]
 
 * [hugo](/commands/hugo/)       - hugo builds your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
index c0bc9359b60de3974bc8ca40f8c7fb8b44b3cc78..633fcd3c39d895e3589df137fa3fa9052729f351 100644 (file)
@@ -1,5 +1,5 @@
 ---
-date: 2019-07-31
+date: 2020-03-03
 title: "hugo version"
 slug: hugo_version
 url: /commands/hugo_version/
@@ -43,4 +43,4 @@ hugo version [flags]
 
 * [hugo](/commands/hugo/)       - hugo builds your site
 
-###### Auto generated by spf13/cobra on 31-Jul-2019
+###### Auto generated by spf13/cobra on 3-Mar-2020
diff --git a/content/en/content-management/build-options.md b/content/en/content-management/build-options.md
new file mode 100644 (file)
index 0000000..f402b90
--- /dev/null
@@ -0,0 +1,94 @@
+---
+title: Build Options
+linktitle: Build Options
+description: Build options help define how Hugo must treat a given page when building the site.
+date: 2020-03-02
+publishdate: 2020-03-02
+keywords: [build,content,front matter, page resources]
+categories: ["content management"]
+menu:
+  docs:
+    parent: "content-management"
+    weight: 31
+weight: 31     #rem
+draft: false
+aliases: [/content/build-options/]
+toc: true
+---
+
+They are stored in a reserved Front Matter object named `_build` with the following defaults:
+
+```yaml
+_build:
+  render: true
+  list: true
+  publishResources: true
+```
+
+#### render
+If true, the page will be treated as a published page, holding its dedicated output files (`index.html`, etc...) and permalink.
+
+#### list
+If true, the page will be treated as part of the project's collections and, when appropriate, returned by Hugo's listing methods (`.Pages`, `.RegularPages` etc...).
+
+#### publishResources
+
+If set to true the [Bundle's Resources]({{< relref "content-management/page-bundles" >}}) will be published. 
+Setting this to false will still publish Resources on demand (when a resource's `.Permalink` or `.RelPermalink` is invoked from the templates) but will skip the others.
+
+{{% note %}}
+Any page, regardless of their build options, will always be available using the [`.GetPage`]({{< relref "functions/GetPage" >}}) methods.
+{{% /note %}}
+
+------
+
+### Illustrative use cases
+
+#### Not publishing a page
+Project needs a "Who We Are" content file for Front Matter and body to be used by the homepage but nowhere else.
+
+```yaml
+# content/who-we-are.md`
+title: Who we are
+_build:
+ list: false
+ render: false
+```
+
+```go-html-template
+{{/* layouts/index.html */}}
+<section id="who-we-are">
+{{ with site.GetPage "who-we-are" }}
+  {{ .Content }}
+{{ end }}
+</section>
+```
+
+#### Listing pages without publishing them
+
+Website needs to showcase a few of the hundred "testimonials" available as content files without publishing any of them.
+
+To avoid setting the build options on every testimonials, one can use [`cascade`]({{< relref "/content-management/front-matter#front-matter-cascade" >}}) on the testimonial section's content file.
+
+```yaml
+#content/testimonials/_index.md
+title: Testimonials
+# section build options:
+_build:
+  render: true
+# children build options with cascade
+cascade:
+  _build:
+    render: false
+    list: true # default
+```
+
+```go-html-template
+{{/* layouts/_defaults/testimonials.html */}}
+<section id="testimonials">
+{{ range first 5 .Pages }}
+  <blockquote cite="{{ .Params.cite }}">
+    {{ .Content }}
+  </blockquote>
+{{ end }}
+</section>
\ No newline at end of file
index 0b9bcf3238f52d9d714a33c43f6a8fa9a36780a0..9efb3b6bfb4498bc9945c7dcde384504419f5788 100644 (file)
@@ -101,6 +101,17 @@ TAG: {{ $k }}: {{ $v }}
 {{ end }}
 ```
 
+Or individually access EXIF data with dot access, e.g.:
+
+```go-html-template
+{{ with $img.Exif }}
+Date: {{ .Date }}
+Lat/Long: {{ .Lat }}/{{ .Long }}
+Aperture: {{ .Tags.ApertureValue }}
+Focal Length: {{ .Tags.FocalLength }}
+{{ end }}
+```
+
 #### Exif fields
 
 Date
index fbcd10c86ce3d9f59601bd9baff5e2e788fbe7d6..1c19726aff4e0c7092d851050175c9e441b9b936 100644 (file)
@@ -59,7 +59,7 @@ You can pass multiple lines as parameters to a shortcode by using raw string lit
 
 ```
 {{</*  myshortcode `This is some <b>HTML</b>,
-and a new line with a "quouted string".` */>}}
+and a new line with a "quoted string".` */>}}
 ```
 
 ### Shortcodes with Markdown
index 70cb900699bfa2443ffd2ea2b6e68008ce1bb23e..bd76f9bbebb6aab863f8f871d8093957a1dad011 100644 (file)
@@ -151,7 +151,7 @@ go install
 ```
 
 
-Hugo relies on [mage](github.com/magefile/mage) for some convenient build and test targets. If you don't already have it, get it:
+Hugo relies on [mage](https://github.com/magefile/mage) for some convenient build and test targets. If you don't already have it, get it:
 
 ```
 go get github.com/magefile/mage
index d615fa72178ffc2de141aa53a71f3d16cfc316f6..26069633d4da6dc1da74af790abcf5fc1ccb80e9 100644 (file)
@@ -33,7 +33,7 @@ hugo.Version
 `hugo` returns an instance that contains the following functions:
 
 hugo.Environment
-: the current running environment as defined through the `--environment` cli tag.
+: the current running environment as defined through the `--environment` cli tag
 
 hugo.CommitHash
 : the git commit hash of the current Hugo binary e.g. `0e8bed9ccffba0df554728b46c5bbf6d78ae5247`
@@ -41,7 +41,8 @@ hugo.CommitHash
 hugo.BuildDate
 : the compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00`
 
-
+hugo.IsProduction
+: returns true if `hugo.Environment` is set to the production environment
 
 {{% note "Use the Hugo Generator Tag" %}}
 We highly recommend using `hugo.Generator` in your website's `<head>`. `hugo.Generator` is included by default in all themes hosted on [themes.gohugo.io](https://themes.gohugo.io). The generator tag allows the Hugo team to track the usage and popularity of Hugo.
index eb38fdd0b5406186a786856e501da0b70d929a54..29fe16985ebc57ba424e27958fdb137e79fff64e 100644 (file)
@@ -4,7 +4,7 @@ description: Hugo provides nine mathematical operators in templates.
 godocref:
 date: 2017-02-01
 publishdate: 2017-02-01
-lastmod: 2017-02-01
+lastmod: 2020-02-23
 keywords: [math, operators]
 categories: [functions]
 menu:
@@ -36,3 +36,6 @@ aliases: []
 | `math.Ceil`  | Returns the least integer value greater than or equal to the given number.  | `{{math.Ceil 2.1}}` &rarr; `3`   |
 | `math.Floor` | Returns the greatest integer value less than or equal to the given number.  | `{{math.Floor 1.9}}` &rarr; `1`  |
 | `math.Round` | Returns the nearest integer, rounding half away from zero.                  | `{{math.Round 1.5}}` &rarr; `2`  |
+| `math.Log`   | Returns the natural logarithm of the given number.                          | `{{math.Log 42}}` &rarr; `3.737` |
+| `math.Sqrt`  | Returns the square root of the given number.                                | `{{math.Sqrt 81}}` &rarr; `9`    |
+
index c69bbb6ed7b2cadd7c4a2dd7d5cd3cdd2ab08ad1..09816676a6d31038bb2a07a124b106b8527a7279 100644 (file)
@@ -134,7 +134,7 @@ PlainText
 Here is a code example for how the render-link.html template could look:
 
 {{< code file="layouts/_default/_markup/render-link.html" >}}
-<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a>
+<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>
 {{< /code >}}
 
 #### Image Markdown example:
index b19cb45d9740e92dce954682fbbe355fa87750d2..33445a63cf5ee2519797f906e12922d506e6ecc8 100644 (file)
@@ -87,6 +87,9 @@ baseURL
 blackfriday
 : See [Configure Blackfriday](/getting-started/configuration-markup#blackfriday)
 
+build
+: See [Configure Build](#configure-build)
+
 buildDrafts (false)
 : Include drafts when building.
 
@@ -135,7 +138,7 @@ enableEmoji (false)
 enableGitInfo (false)
 : Enable `.GitInfo` object for each page (if the Hugo site is versioned by Git). This will then update the `Lastmod` parameter for each page using the last git commit date for that content file.
 
-enableInlineShortcodes
+enableInlineShortcodes (false)
 : Enable inline shortcode support. See [Inline Shortcodes](/templates/shortcode-templates/#inline-shortcodes).
 
 enableMissingTranslationPlaceholders (false)
@@ -288,6 +291,21 @@ enableemoji: true
 ```
 {{% /note %}}
 
+## Configure Build
+
+{{< new-in "0.66.0" >}}
+
+The `build` configuration section contains global build-realated configuration options.
+
+{{< code-toggle file="config">}}
+[build]
+useResourceCacheWhen="fallback"
+{{< /code-toggle >}}
+
+
+useResourceCacheWhen
+: When to use the cached resources in `/resources/_gen` for PostCSS and ToCSS. Valid values are `never`, `always` and `fallback`. The last value means that the cache will be tried if PostCSS/extended version is not available.
+
 ## Configure Title Case
 
 Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo. It defaults to [AP Stylebook](https://www.apstylebook.com/) for title casing, but you can also set it to `Chicago` or `Go` (every word starts with a capital letter).
index 81436b7f36ab79ac6b92933f97bdd05600698ba0..a571d366d6e3696dc841d1232f41fd1d7ce229d7 100644 (file)
@@ -82,8 +82,13 @@ name = "mydeployment"
 # If you are using a CloudFront CDN, deploy will invalidate the cache as needed.
 cloudFrontDistributionID = <ID>
 
-
-# ... add more [[deployment.targets]] sections ...
+# Optionally, you can include or exclude specific files.
+# See https://godoc.org/github.com/gobwas/glob#Glob for the glob pattern syntax.
+# If non-empty, the pattern is matched against the local path.
+# If exclude is non-empty, and a file's path matches it, that file is dropped.
+# If include is non-empty, and a file's path does not match it, that file is dropped.
+# include = "**.html" # would only include files with ".html" suffix
+# exclude = "**.{jpg, png}" # would exclude files with ".jpg" or ".png" suffix
 
 
 # [[deployment.matchers]] configure behavior for files that match the Pattern.
index 71430700a11038b53a6bc1e0b3f82255e3e16a91..85417b5bfb2d5838aa625c3fb1bdf6bd4f368b53 100644 (file)
@@ -46,6 +46,15 @@ Some examples:
 ```bash
 hugo mod get -u
 ```
+
+### Update All Modules Recursively
+
+{{< new-in "0.65.0" >}}
+
+```bash
+hugo mod get -u ./...
+```
+
 ### Update One Module
 
 ```bash
@@ -115,7 +124,7 @@ Also see the [CLI Doc](/commands/hugo_mod_clean/).
 
 Run `hugo mod clean` to delete the entire modules cache.
 
-Note that you can also configure the `modules` cache with a `maxAge`, see [File Caches](/configuration/#configure-file-caches).
+Note that you can also configure the `modules` cache with a `maxAge`, see [File Caches](/hugo-modules/configuration/#configure-file-caches).
 
 
 
index ce090752f813f9ca4beb35edc9d44cead957ed57..c8136c040f8e88a55eb4f236fe0772d8de32ab2f 100755 (executable)
@@ -22,4 +22,6 @@ Any resource of the aforementioned types can be minifed using `resources.Minify`
 ```go-html-template
 {{ $css := resources.Get "css/main.css" }}
 {{ $style := $css | resources.Minify }}
-```
\ No newline at end of file
+```
+
+Note that you can also minify the final HTML output to `/public` by running `hugo --minify`.
index a0a673798648a9eecc8ad338f929cb9cd2079b6c..a7ba097fabd6b3d4e4b5abb2989734fa9828cdef 100755 (executable)
@@ -39,6 +39,12 @@ config [string]
 noMap [bool]
 : Default is `true`. Disable the default inline sourcemaps
 
+inlineImports [bool] {{< new-in "0.66.0" >}}
+: Default is `false`. Enable inlining of @import statements. It does so recursively, but will only import a file once.
+URL imports (e.g. `@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');`) and imports with media queries will be ignored.
+Note that this import routine does not care about the CSS spec, so you can have @import anywhere in the file.
+Hugo will look for imports relative to the module mount and will respect theme overrides.
+
 _If no configuration file is used:_
 
 use [string]
@@ -55,4 +61,21 @@ syntax [string]
 
 ```go-html-template
 {{ $style := resources.Get "css/main.css" | resources.PostCSS (dict "config" "customPostCSS.js" "noMap" true) }}
+```
+
+## Check Hugo Environment from postcss.config.js
+
+{{< new-in "0.66.0" >}}
+
+The current Hugo environment name (set by `--environment` or in config or OS environment) is available in the Node context, which allows constructs like this:
+
+```js
+module.exports = {
+  plugins: [
+    require('autoprefixer'),
+    ...process.env.HUGO_ENVIRONMENT === 'production'
+      ? [purgecss]
+      : []
+  ]
+}
 ```
\ No newline at end of file
diff --git a/content/en/news/0.65.0-relnotes/hugo-65-poster-featured.png b/content/en/news/0.65.0-relnotes/hugo-65-poster-featured.png
new file mode 100644 (file)
index 0000000..a311df0
Binary files /dev/null and b/content/en/news/0.65.0-relnotes/hugo-65-poster-featured.png differ
diff --git a/content/en/news/0.65.0-relnotes/index.md b/content/en/news/0.65.0-relnotes/index.md
new file mode 100644 (file)
index 0000000..1a2edb9
--- /dev/null
@@ -0,0 +1,141 @@
+
+---
+date: 2020-02-20
+title: "0.65.0: Hugo Reloaded!"
+description: "Draft, expire, resource bundling, and fine grained publishing control for any page. And it's faster."
+categories: ["Releases"]
+---
+
+**Hugo 0.65** generalizes how a page is packaged and published to be applicable to **any page**. This should solve some of the most common issues we see people ask and talk about on the [issue tracker](https://github.com/gohugoio/hugo/issues) and on the [forum](https://discourse.gohugo.io/).
+
+## Release Highlights
+
+### New in Hugo Core
+
+Any [branch node](https://gohugo.io/content-management/page-bundles/#branch-bundles) can now bundle resources (images, data files etc.), even the taxonomy nodes (e.g. /categories).
+
+List pages (sections and the home page) can now be added to taxonomies.
+
+The front matter fields that control when and if to publish a piece of content (`draft`, `publishDate`, `expiryDate`) now also works for list pages, and is recursive.
+
+We have added a new `_build` front matter keyword to provide fine-grained control over page publishing. The default values:
+
+```yaml
+_build:
+  # Whether to add it to any of the page collections.
+  # Note that the page can still be found with .Site.GetPage.
+  list: true
+  
+  # Whether to render it.
+  render: true
+  
+  # Whether to publish its resources. These will still be published on demand,
+  # but enabling this can be useful if the originals (e.g. images) are
+  # never used.
+  publishResources: true
+```
+
+Note that all front matter keywords can be set in the [cascade](https://gohugo.io/content-management/front-matter#front-matter-cascade) on a branch node, which would be especially useful for `_build`.
+
+We have also upgraded to the latest LibSass (v3.6.3). Nothing remarkable functional new here, but it makes Hugo ready for the upcoming [Dart Backport](https://github.com/sass/libsass/pull/2918).
+
+And finally, we have added a `GetTerms` method on `Page`, making  listing the terms defined on this page in the given taxonomy much simpler:
+
+```go-html-template
+<ul>
+    {{ range (.GetTerms "tags") }}
+        <li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
+   {{ end }}
+</ul>
+```
+
+### New in Hugo Modules
+
+There are several improvements to the tooling used in [Hugo Modules](https://gohugo.io/hugo-modules/). One bug fix, but also some improvements to make it easier to manage:
+
+* You can now recursively update your modules with `hugo mod get -u ./...`
+* `hugo mod clean` will now only clean the cache for the current project and now also takes an optional module path pattern, e.g. `hugo mod clean --pattern "github.com/**"`
+* A new command `hugo mod verify` is added to verify that the module cache matches the hashes in `go.sum`. Run with `hugo mod verify --clean` to delete any modules that fail this check.
+
+See [hugo mod](https://gohugo.io/commands/hugo_mod/#see-also).
+
+### Performance
+
+The new features listed above required a structural simplification, and we do watch our weight when doing this. And the benchmarks show that Hugo should, in general, be slightly faster. This is especially true if you're using taxonomies, and the partial rebuilding on content changes should be considerably faster.
+
+## Numbers
+
+This release represents **34 contributions by 6 contributors** to the main Hugo code base.[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@satotake](https://github.com/satotake), [@QuLogic](https://github.com/QuLogic), and [@JaymoKang](https://github.com/JaymoKang) for their ongoing contributions.
+And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) and [@onedrawingperday](https://github.com/onedrawingperday) for their relentless work on keeping the themes site in pristine condition and to [@davidsneighbour](https://github.com/davidsneighbour) and [@kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site.
+
+Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), 
+which has received **7 contributions by 4 contributors**. A special thanks to [@coliff](https://github.com/coliff), [@bep](https://github.com/bep), [@tibnew](https://github.com/tibnew), and [@nerg4l](https://github.com/nerg4l) for their work on the documentation site.
+
+Hugo now has:
+
+* 41724+ [stars](https://github.com/gohugoio/hugo/stargazers)
+* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
+* 299+ [themes](http://themes.gohugo.io/)
+
+## Notes
+
+* `.GetPage "members.md"` (the Page method) will now only do relative lookups, which is what most people would expect.
+* There have been a slight change of how disableKinds for regular pages: They will not be rendered on its own, but will be added to the site collections.
+
+## Enhancements
+
+### Templates
+
+* Adjust the RSS taxonomy logic [d73e3738](https://github.com/gohugoio/hugo/commit/d73e37387ca0012bd58bd3f36a0477854b41ab6e) [@bep](https://github.com/bep) [#6909](https://github.com/gohugoio/hugo/issues/6909)
+
+### Output
+
+* Handle disabled RSS even if it's defined in outputs [da54787c](https://github.com/gohugoio/hugo/commit/da54787cfa97789624e467a4451dfeb50f563e41) [@bep](https://github.com/bep) 
+
+### Other
+
+* Regenerate CLI docs [a5ebdf7d](https://github.com/gohugoio/hugo/commit/a5ebdf7d17e6c6a9dc686cf8f7cd8e0a1bab5f2d) [@bep](https://github.com/bep) 
+* Improve "hugo mod clean" [dce210ab](https://github.com/gohugoio/hugo/commit/dce210ab56fc885818fc5d1a084a1c3ba84e7929) [@bep](https://github.com/bep) [#6907](https://github.com/gohugoio/hugo/issues/6907)
+* Add "hugo mod verify" [0b96aba0](https://github.com/gohugoio/hugo/commit/0b96aba022d51cf9939605c029bb8dba806653a1) [@bep](https://github.com/bep) [#6907](https://github.com/gohugoio/hugo/issues/6907)
+* Add Page.GetTerms [fa520a2d](https://github.com/gohugoio/hugo/commit/fa520a2d983b982394ad10088393fb303e48980a) [@bep](https://github.com/bep) [#6905](https://github.com/gohugoio/hugo/issues/6905)
+* Add a list terms benchmark [7489a864](https://github.com/gohugoio/hugo/commit/7489a864591b6df03f435f40696c6ceeb4776ec9) [@bep](https://github.com/bep) [#6905](https://github.com/gohugoio/hugo/issues/6905)
+* Use the tree for taxonomy.Pages() [b2dcd53e](https://github.com/gohugoio/hugo/commit/b2dcd53e3c0240c4afd21d1818fd180c2d1b9d34) [@bep](https://github.com/bep) 
+* Add some cagegories to the site collections benchmarks [36983e61](https://github.com/gohugoio/hugo/commit/36983e6189a717f1d4d1da6652621d7f8fe186ad) [@bep](https://github.com/bep) 
+* Do not try to get local themes in "hugo mod get" [20f2211f](https://github.com/gohugoio/hugo/commit/20f2211fce55e1811629245f9e5e4a2ac754d788) [@bep](https://github.com/bep) [#6893](https://github.com/gohugoio/hugo/issues/6893)
+* Update goldmark-highlighting [a21a9373](https://github.com/gohugoio/hugo/commit/a21a9373e06091ab70d8a5f4da8ff43f7c609b4b) [@satotake](https://github.com/satotake) 
+* Support "hugo mod get -u ./..." [775c7c24](https://github.com/gohugoio/hugo/commit/775c7c2474d8797c96c9ac529a3cd93c0c2d3514) [@bep](https://github.com/bep) [#6828](https://github.com/gohugoio/hugo/issues/6828)
+* Introduce a tree map for all content [eada236f](https://github.com/gohugoio/hugo/commit/eada236f87d9669885da1ff647672bb3dc6b4954) [@bep](https://github.com/bep) [#6312](https://github.com/gohugoio/hugo/issues/6312)[#6087](https://github.com/gohugoio/hugo/issues/6087)[#6738](https://github.com/gohugoio/hugo/issues/6738)[#6412](https://github.com/gohugoio/hugo/issues/6412)[#6743](https://github.com/gohugoio/hugo/issues/6743)[#6875](https://github.com/gohugoio/hugo/issues/6875)[#6034](https://github.com/gohugoio/hugo/issues/6034)[#6902](https://github.com/gohugoio/hugo/issues/6902)[#6173](https://github.com/gohugoio/hugo/issues/6173)[#6590](https://github.com/gohugoio/hugo/issues/6590)
+* Another benchmark rename [e5329f13](https://github.com/gohugoio/hugo/commit/e5329f13c02b87f0c30f8837759c810cd90ff8da) [@bep](https://github.com/bep) 
+* Rename the Edit benchmarks [5b145ddc](https://github.com/gohugoio/hugo/commit/5b145ddc4c951a827e1ac00444dc4719e53e0885) [@bep](https://github.com/bep) 
+* Refactor a benchmark to make it runnable as test [54bdcaac](https://github.com/gohugoio/hugo/commit/54bdcaacaedec178554e696f34647801bbe61362) [@bep](https://github.com/bep) 
+* Add benchmark for content edits [1622510a](https://github.com/gohugoio/hugo/commit/1622510a5c651b59a79f64e9dc3cacd24832ec0b) [@bep](https://github.com/bep) 
+* Add "go mod verify" to build scripts [56d0b658](https://github.com/gohugoio/hugo/commit/56d0b658879bbf476810d013176d6568553aa71e) [@bep](https://github.com/bep) 
+* Add git to Dockerfile [75c3787f](https://github.com/gohugoio/hugo/commit/75c3787fc254d933fa11e5c39d978bfa1a21a371) [@JaymoKang](https://github.com/JaymoKang) 
+* Update go.sum [9babb1f0](https://github.com/gohugoio/hugo/commit/9babb1f0c4fca048b0339f6ce3618f88d34e0457) [@bep](https://github.com/bep) 
+* Rename doWithCommandeer to cfgInit/cfgSetAndInit [8a5124d6](https://github.com/gohugoio/hugo/commit/8a5124d6b38156cb6f765ac7492513ac7c0d90b2) [@MarkRosemaker](https://github.com/MarkRosemaker) 
+* Update golibsass [898a0a96](https://github.com/gohugoio/hugo/commit/898a0a96afd472fad8fe70be71f6cb00a4267c4a) [@bep](https://github.com/bep) [#6885](https://github.com/gohugoio/hugo/issues/6885)
+* Shuffle test files before insertion [3b721110](https://github.com/gohugoio/hugo/commit/3b721110d560c8831c282e6e7a5c510fe7a5129a) [@bep](https://github.com/bep) 
+* Update to LibSass v3.6.3 [40ba7e6d](https://github.com/gohugoio/hugo/commit/40ba7e6d63c1a0734f257a642e46eb1572116a32) [@bep](https://github.com/bep) [#6862](https://github.com/gohugoio/hugo/issues/6862)
+* Update Go version requirement [23ea4318](https://github.com/gohugoio/hugo/commit/23ea43180b84e35d99e88083a83e7ca1916b3b36) [@bep](https://github.com/bep) [#6853](https://github.com/gohugoio/hugo/issues/6853)
+
+## Fixes
+
+### Templates
+
+* Fix RSS template for the terms listing [aa3e1830](https://github.com/gohugoio/hugo/commit/aa3e1830568cabaa8bf3277feeba6cb48746e40c) [@bep](https://github.com/bep) [#6909](https://github.com/gohugoio/hugo/issues/6909)
+
+### Other
+
+* Fix lazy publishing with publishResources=false [9bdedb25](https://github.com/gohugoio/hugo/commit/9bdedb251c7cd8f8af800c7d9914cf84292c5c50) [@bep](https://github.com/bep) [#6914](https://github.com/gohugoio/hugo/issues/6914)
+* Fix goMinorVersion on non-final Go releases [c7975b48](https://github.com/gohugoio/hugo/commit/c7975b48b6532823868a6aa8c93eb76caa46c570) [@QuLogic](https://github.com/QuLogic) 
+* Fix taxonomy [1b7acfe7](https://github.com/gohugoio/hugo/commit/1b7acfe7634a5d7bbc597ef4dddf4babce5666c5) [@bep](https://github.com/bep) 
+* Fix RenderString for pages without content [19e12caf](https://github.com/gohugoio/hugo/commit/19e12caf8c90516e3b803ae8a40b907bd89dc96c) [@bep](https://github.com/bep) [#6882](https://github.com/gohugoio/hugo/issues/6882)
+* Fix chroma highlight [3c568ad0](https://github.com/gohugoio/hugo/commit/3c568ad0139c79e5c0596ca40637512d71401afc) [@satotake](https://github.com/satotake) [#6877](https://github.com/gohugoio/hugo/issues/6877)[#6856](https://github.com/gohugoio/hugo/issues/6856)
+* Fix mount with hole regression [b78576fd](https://github.com/gohugoio/hugo/commit/b78576fd38a76bbdaab5ad21228c8e5a559090b1) [@bep](https://github.com/bep) [#6854](https://github.com/gohugoio/hugo/issues/6854)
+* Fix bundle resource ordering regression [18888e09](https://github.com/gohugoio/hugo/commit/18888e09bbb5325bdd63f2cd93116ff490dd37ab) [@bep](https://github.com/bep) [#6851](https://github.com/gohugoio/hugo/issues/6851)
+* Fix note about CGO [7f0ebd4a](https://github.com/gohugoio/hugo/commit/7f0ebd4a3c9e016afddc2cf5e7dfe6a820aa099a) [@moorereason](https://github.com/moorereason) 
+
+
+
+
+
diff --git a/content/en/news/0.65.0-relnotes/pg-admin-tos.png b/content/en/news/0.65.0-relnotes/pg-admin-tos.png
new file mode 100644 (file)
index 0000000..fc2f4e3
Binary files /dev/null and b/content/en/news/0.65.0-relnotes/pg-admin-tos.png differ
diff --git a/content/en/news/0.65.1-relnotes/index.md b/content/en/news/0.65.1-relnotes/index.md
new file mode 100644 (file)
index 0000000..07ee665
--- /dev/null
@@ -0,0 +1,20 @@
+
+---
+date: 2020-02-20
+title: "Hugo 0.65.1: A couple of Bug Fixes"
+description: "This version fixes a couple of bugs introduced in 0.65.0."
+categories: ["Releases"]
+images:
+- images/blog/hugo-bug-poster.png
+
+---
+
+       
+
+This is a bug-fix release with a couple of important fixes.
+
+* hugolib: Fix 2 Paginator.Pages taxonomy regressions [7ef5a4c8](https://github.com/gohugoio/hugo/commit/7ef5a4c83e4560bced3eee0ccf0e0db176146f44) [@bep](https://github.com/bep) [#6921](https://github.com/gohugoio/hugo/issues/6921)[#6918](https://github.com/gohugoio/hugo/issues/6918)
+* hugolib: Fix deletion of orphaned sections [a70bbd06](https://github.com/gohugoio/hugo/commit/a70bbd0696df3b0a6889650e48a07f8223151da4) [@bep](https://github.com/bep) [#6920](https://github.com/gohugoio/hugo/issues/6920)
+
+
+
diff --git a/content/en/news/0.65.2-relnotes/index.md b/content/en/news/0.65.2-relnotes/index.md
new file mode 100644 (file)
index 0000000..ee92809
--- /dev/null
@@ -0,0 +1,21 @@
+
+---
+date: 2020-02-21
+title: "Hugo 0.65.2: A couple of Bug Fixes"
+description: "This version fixes a couple of bugs introduced in 0.65.0."
+categories: ["Releases"]
+images:
+- images/blog/hugo-bug-poster.png
+
+---
+
+       
+
+This is a bug-fix release with a couple of important fixes.
+
+* Apply missing go fmt [76b2afe6](https://github.com/gohugoio/hugo/commit/76b2afe642c37aedc7269b41d6fca5b78f467ce4) [@bep](https://github.com/bep) 
+* Fix panic on no output formats [f4605303](https://github.com/gohugoio/hugo/commit/f46053034759c4f9790a79e0a146dbc1b426b1ff) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924)
+* Fix panic in 404.Parent [4c2a0de4](https://github.com/gohugoio/hugo/commit/4c2a0de412a850745ad32e580fcd65575192ca53) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924)
+
+
+
diff --git a/content/en/news/0.65.3-relnotes/index.md b/content/en/news/0.65.3-relnotes/index.md
new file mode 100644 (file)
index 0000000..1d47362
--- /dev/null
@@ -0,0 +1,21 @@
+
+---
+date: 2020-02-23
+title: "Hugo 0.65.3: A couple of Bug Fixes"
+description: "This version fixes a couple of bugs introduced in 0.65.0."
+categories: ["Releases"]
+images:
+- images/blog/hugo-bug-poster.png
+
+---
+
+       
+
+This is a bug-fix release with a couple of important fixes.
+
+* Fix panic when home page is drafted [0bd6356c](https://github.com/gohugoio/hugo/commit/0bd6356c6d2a2bac06d0c3705bf13a90cb7a2688) [@bep](https://github.com/bep) [#6927](https://github.com/gohugoio/hugo/issues/6927)
+* Fix goldmark toc rendering [ca68abf0](https://github.com/gohugoio/hugo/commit/ca68abf0bc2fa003c2052143218f7b2ab195a46e) [@satotake](https://github.com/satotake) [#6736](https://github.com/gohugoio/hugo/issues/6736)[#6809](https://github.com/gohugoio/hugo/issues/6809)
+* Fix crashes for 404 in IsAncestor etc. [a524124b](https://github.com/gohugoio/hugo/commit/a524124beb0e7ca226c207ea48a90cea2cbef76e) [@bep](https://github.com/bep) [#6931](https://github.com/gohugoio/hugo/issues/6931)
+
+
+
diff --git a/content/en/news/0.66.0-relnotes/hugo-66-poster-featured.png b/content/en/news/0.66.0-relnotes/hugo-66-poster-featured.png
new file mode 100644 (file)
index 0000000..fcdc707
Binary files /dev/null and b/content/en/news/0.66.0-relnotes/hugo-66-poster-featured.png differ
diff --git a/content/en/news/0.66.0-relnotes/index.md b/content/en/news/0.66.0-relnotes/index.md
new file mode 100644 (file)
index 0000000..6fdeec9
--- /dev/null
@@ -0,0 +1,81 @@
+
+---
+date: 2020-03-03
+title: "Hugo 0.66.0: PostCSS Edition"
+description: "Native inline, recursive import support in PostCSS/Tailwind, \"dependency-less\" builds, and more …"
+categories: ["Releases"]
+---
+
+This release adds [inline `@import`](/hugo-pipes/postcss/#options) support to `resources.PostCSS`, with imports relative to Hugo's virtual, composable file system. Another useful addition is the new `build` [configuration section](/getting-started/configuration/#configure-build). As an example in `config.toml`:
+
+```toml
+[build]
+  useResourceCacheWhen = "always"
+```
+
+The above will tell Hugo to _always_ use the cached build resources inside `resources/_gen` for the build steps requiring a non-standard dependency (PostCSS and SCSS/SASS). Valid values are `never`, `always` and `fallback` (default).
+
+
+This release represents **27 contributions by 8 contributors** to the main Hugo code base.[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@anthonyfok](https://github.com/anthonyfok), [@carlmjohnson](https://github.com/carlmjohnson), and [@sams96](https://github.com/sams96) for their ongoing contributions.
+And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) and [@onedrawingperday](https://github.com/onedrawingperday) for their relentless work on keeping the themes site in pristine condition and to [@davidsneighbour](https://github.com/davidsneighbour) and [@kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site.
+
+Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), 
+which has received **8 contributions by 5 contributors**. A special thanks to [@bep](https://github.com/bep), [@nantipov](https://github.com/nantipov), [@regisphilibert](https://github.com/regisphilibert), and [@inwardmovement](https://github.com/inwardmovement) for their work on the documentation site.
+
+
+Hugo now has:
+
+* 41984+ [stars](https://github.com/gohugoio/hugo/stargazers)
+* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
+* 299+ [themes](http://themes.gohugo.io/)
+
+## Enhancements
+
+### Templates
+
+* Change error message on missing resource [d7798906](https://github.com/gohugoio/hugo/commit/d7798906d8e152a5d33f76ed0362628da8dd2c35) [@sams96](https://github.com/sams96) [#6942](https://github.com/gohugoio/hugo/issues/6942)
+* Add math.Sqrt [d184e505](https://github.com/gohugoio/hugo/commit/d184e5059c72c15df055192b01da0fd8c5b0fc5c) [@StarsoftAnalysis](https://github.com/StarsoftAnalysis) [#6941](https://github.com/gohugoio/hugo/issues/6941)
+
+### Other
+
+* Skip some tests on CircleCI [6a34f88d](https://github.com/gohugoio/hugo/commit/6a34f88dcc1ac229247decc008471d7449d6d316) [@bep](https://github.com/bep) 
+* {{ in }} should work with html.Template type [ae383f04](https://github.com/gohugoio/hugo/commit/ae383f04c806687cdae184d6138bcf51edbffcb2) [@carlmjohnson](https://github.com/carlmjohnson) [#7002](https://github.com/gohugoio/hugo/issues/7002)
+* Regen CLI docs [ee31e61f](https://github.com/gohugoio/hugo/commit/ee31e61fb06bb6e26c9d66d78d8763aabd19e11d) [@bep](https://github.com/bep) 
+* Add --all flag to hugo mod clean [760a87a4](https://github.com/gohugoio/hugo/commit/760a87a45a0a3e6a581851e5cf4fe440e9a8c655) [@bep](https://github.com/bep) 
+* Add build.UseResourceCacheWhen [3d3fa5c3](https://github.com/gohugoio/hugo/commit/3d3fa5c3fe5ee0c9df59d682ee0acaba71a06ae1) [@bep](https://github.com/bep) [#6993](https://github.com/gohugoio/hugo/issues/6993)
+* Update dependency list in README.md [ee3d0213](https://github.com/gohugoio/hugo/commit/ee3d02134d9b46b10e5a0403c9986ee1833ae6c1) [@anthonyfok](https://github.com/anthonyfok) 
+* Add full filename to image when processing fails [305ce1c9](https://github.com/gohugoio/hugo/commit/305ce1c9ec746d3b8f6c9306b7014bfd621478a5) [@bep](https://github.com/bep) [#7000](https://github.com/gohugoio/hugo/issues/7000)
+* Update dependency list in README [449deb7f](https://github.com/gohugoio/hugo/commit/449deb7f9ce089236f8328dd4fa585bea6e9bfde) [@anthonyfok](https://github.com/anthonyfok) 
+* Add basic @import support to resources.PostCSS [b66d38c4](https://github.com/gohugoio/hugo/commit/b66d38c41939252649365822d9edb10cf5990617) [@bep](https://github.com/bep) [#6957](https://github.com/gohugoio/hugo/issues/6957)[#6961](https://github.com/gohugoio/hugo/issues/6961)
+* Implement include/exclude filters for deploy [05a74eae](https://github.com/gohugoio/hugo/commit/05a74eaec0d944a4b29445c878a431cd6ae12277) [@vangent](https://github.com/vangent) [#6922](https://github.com/gohugoio/hugo/issues/6922)
+* Update to Go 1.14 and 1.13.8 [33ae6210](https://github.com/gohugoio/hugo/commit/33ae62108325f703f1eaeabef1e8a80950229415) [@bep](https://github.com/bep) [#6958](https://github.com/gohugoio/hugo/issues/6958)
+* Add hugo.IsProduction function [1352bc88](https://github.com/gohugoio/hugo/commit/1352bc880df4cd25eff65843973fcc0dd21b6304) [@hcwong](https://github.com/hcwong) [#6873](https://github.com/gohugoio/hugo/issues/6873)
+* Apply missing go fmt [76b2afe6](https://github.com/gohugoio/hugo/commit/76b2afe642c37aedc7269b41d6fca5b78f467ce4) [@bep](https://github.com/bep) 
+
+## Fixes
+
+### Output
+
+* Fix panic on no output formats [f4605303](https://github.com/gohugoio/hugo/commit/f46053034759c4f9790a79e0a146dbc1b426b1ff) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924)
+
+### Core
+
+* Fix error handling in page collector [3e9db2ad](https://github.com/gohugoio/hugo/commit/3e9db2ad951dbb1000cd0f8f25e4a95445046679) [@bep](https://github.com/bep) [#6988](https://github.com/gohugoio/hugo/issues/6988)
+* Fix 2 Paginator.Pages taxonomy regressions [7ef5a4c8](https://github.com/gohugoio/hugo/commit/7ef5a4c83e4560bced3eee0ccf0e0db176146f44) [@bep](https://github.com/bep) [#6921](https://github.com/gohugoio/hugo/issues/6921)[#6918](https://github.com/gohugoio/hugo/issues/6918)
+* Fix deletion of orphaned sections [a70bbd06](https://github.com/gohugoio/hugo/commit/a70bbd0696df3b0a6889650e48a07f8223151da4) [@bep](https://github.com/bep) [#6920](https://github.com/gohugoio/hugo/issues/6920)
+
+### Other
+
+* Fix ref/relref short lookup for pages in sub-folder [8947c3fa](https://github.com/gohugoio/hugo/commit/8947c3fa0beec021e14b3f8040857335e1ecd473) [@bep](https://github.com/bep) [#6952](https://github.com/gohugoio/hugo/issues/6952)
+* Fix ref/relRef regression for relative refs from bundles [1746e8a9](https://github.com/gohugoio/hugo/commit/1746e8a9b2be46dcd6cecbb4bc90983a9c69b333) [@bep](https://github.com/bep) [#6952](https://github.com/gohugoio/hugo/issues/6952)
+* Fix potential infinite recursion in server change detection [6f48146e](https://github.com/gohugoio/hugo/commit/6f48146e75e9877c4271ec239b763e6f3bc3babb) [@bep](https://github.com/bep) [#6986](https://github.com/gohugoio/hugo/issues/6986)
+* Fix rebuild logic when editing template using a base template [b0d85032](https://github.com/gohugoio/hugo/commit/b0d850321e58a052ead25f7014b7851f63497601) [@bep](https://github.com/bep) [#6968](https://github.com/gohugoio/hugo/issues/6968)
+* Fix panic when home page is drafted [0bd6356c](https://github.com/gohugoio/hugo/commit/0bd6356c6d2a2bac06d0c3705bf13a90cb7a2688) [@bep](https://github.com/bep) [#6927](https://github.com/gohugoio/hugo/issues/6927)
+* Fix goldmark toc rendering [ca68abf0](https://github.com/gohugoio/hugo/commit/ca68abf0bc2fa003c2052143218f7b2ab195a46e) [@satotake](https://github.com/satotake) [#6736](https://github.com/gohugoio/hugo/issues/6736)[#6809](https://github.com/gohugoio/hugo/issues/6809)
+* Fix crashes for 404 in IsAncestor etc. [a524124b](https://github.com/gohugoio/hugo/commit/a524124beb0e7ca226c207ea48a90cea2cbef76e) [@bep](https://github.com/bep) [#6931](https://github.com/gohugoio/hugo/issues/6931)
+* Fix panic in 404.Parent [4c2a0de4](https://github.com/gohugoio/hugo/commit/4c2a0de412a850745ad32e580fcd65575192ca53) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924)
+
+
+
+
+
index 698955c023bef0f301d4486f50e3e6e79ff5ccd4..45aaff1f3f425544e247ac3852118aeeb41960d2 100644 (file)
@@ -5,13 +5,13 @@
 : The page's first section below root, e.g. `/docs`, `/blog` etc.
 
 .InSection $anotherPage
-: Whether the given page is in the current section. Note that this will always return false for pages that are not either regular, home or section pages.
+: Whether the given page is in the current section.
 
 .IsAncestor $anotherPage
-: Whether the current page is an ancestor of the given page. Note that this method is not relevant for taxonomy lists and taxonomy terms pages.
+: Whether the current page is an ancestor of the given page.
 
 .IsDescendant $anotherPage
-: Whether the current page is a descendant of the given page. Note that this method is not relevant for taxonomy lists and taxonomy terms pages.
+: Whether the current page is a descendant of the given page.
 
 .Parent
 : A section's parent section or a page's section.
diff --git a/content/en/showcase/aether/bio.md b/content/en/showcase/aether/bio.md
new file mode 100644 (file)
index 0000000..be15333
--- /dev/null
@@ -0,0 +1,9 @@
+
+[**Aether**](https://getaether.net) is an open-source peer-to-peer network that hosts self-moderating online-communities.
+
+[**Aether Pro**](https://aether.app), based on Aether, is a collaboration tool for remote-friendly companies.
+
+The site is built by:
+
+* [Burak Nehbit](https://twitter.com/nehbit)
+
diff --git a/content/en/showcase/aether/featured.png b/content/en/showcase/aether/featured.png
new file mode 100644 (file)
index 0000000..509f938
Binary files /dev/null and b/content/en/showcase/aether/featured.png differ
diff --git a/content/en/showcase/aether/index.md b/content/en/showcase/aether/index.md
new file mode 100644 (file)
index 0000000..bd6116e
--- /dev/null
@@ -0,0 +1,39 @@
+---
+
+title: Aether
+date: 2020-02-26
+description: "Showcase: \"Hugo is not just a static site generator for us, it's the core framework at the heart of our entire web front-end.\""
+
+# The URL to the site on the internet.
+siteURL: https://getaether.net
+
+# Add credit to the article author. Leave blank or remove if not needed/wanted.
+byline: "[Burak Nehbit](https://twitter.com/nehbit), Maintainer, Aether"
+
+---
+
+To say that this website, our main online presence, needed to do a lot would be an understatement.
+
+Our site is home to both *Aether* and *Aether Pro*, our **knowledgebase for each product**, a **server for static assets that we use in our emails**, the **interactive sign-up flows**, **payments client**, **downloads provider**, and even a **mechanism for delivering auto-update notifications** to our native clients. We are using a single Hugo site for all these — it's not a static site generator for us, it's the core framework at the heart of our *entire* web front-end.
+
+Not only that, this had to work with one developer crunched for time who spends most of his time working on two separate apps across 3 desktop platforms — someone whose main job is very far from building static websites. We only had scraps of time to design and build this Hugo site, make it performant and scalable, and Hugo did a phenomenal job delivering on that promise.
+
+The last piece is, funnily enough, moving our blog to Hugo, which it is not as of now. This was an inherited mistake we are currently rectifying. Soon, our entire web footprint will be living in Hugo.
+
+### Structure
+
+Our website is built in such a way that there is a separate Vue.js instance for each of the contexts since we are no using JS-based single-page navigation. We use Hugo for navigation and to build most pages. For the pages we need to make interactive, we use Vue.js to build individual, self-contained single-page Javascript apps. One such example is our sign-up flow at [aether.app](https://aether.app), an individual Vue app living within a Hugo page, with its own JS-based navigation.
+
+This is a relatively complex setup, and somewhat out of the ordinary. Yet, even with this custom setup, using Hugo was painless.
+
+### Tools
+
+**CMS**: Hugo
+
+**Theme**: Custom-designed
+
+**Hosting**: Netlify, pushed to production via `git push`.
+
+**Javascript runtime**: Vue.js
+
+
index 004401fdabf81967e61b4d5c8449d8728f4d2e38..4e750216cb307b17be3e6d8bd0c02e0e109dbc8c 100644 (file)
@@ -184,7 +184,7 @@ images = ["post-cover.png"]
 {{</ code-toggle >}}
 
 If `images` aren't specified in the page front-matter, then hugo searches for [image page resources](/content-management/image-processing/) with `feature`, `cover`, or `thumbnail` in their name.
-If no image resources with those names are found, the images defined in the [site config](getting-started/configuration/) are used instead.
+If no image resources with those names are found, the images defined in the [site config](/getting-started/configuration/) are used instead.
 If no images are found at all, then an image-less Twitter `summary` card is used instead of `summary_large_image`.
 
 Hugo uses the page title and description for the card's title and description fields. The page summary is used if no description is given.
index 50337a20ccf5653e882a9e3c5d5df5432dcd9199..cbc667da3eca33c5bb673c03cebd1c45b8aae167 100644 (file)
@@ -239,7 +239,7 @@ Hugo will look for the name given, so you can name it whatever you want. But if
 [partial name].[OutputFormat].[suffix]
 ```
 
-The partial below is a plain text template (Outpuf Format is `CSV`, and since this is the only output format with the suffix `csv`, we don't need to include the Output Format's `Name`):
+The partial below is a plain text template (Output Format is `CSV`, and since this is the only output format with the suffix `csv`, we don't need to include the Output Format's `Name`):
 
 ```
 {{ partial "mytextpartial.csv" . }}
index b82a5175c8a6f64b7c66307c8f87c4e1236cbe78..bef2d32264a72142d7bf4e0cd395b4ffc319ce22 100644 (file)
@@ -216,6 +216,18 @@ Because we are leveraging the front matter system to define taxonomies for conte
 
 ### Example: List Tags in a Single Page Template
 
+{{< new-in "0.65.0" >}}
+
+```go-html-template
+<ul>
+    {{ range (.GetTerms "tags") }}
+        <li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
+   {{ end }}
+</ul>
+```
+
+Before Hugo 0.65.0 you needed to do something like this:
+
 ```go-html-template
 {{ $taxo := "tags" }} <!-- Use the plural form here -->
 <ul id="{{ $taxo }}">
index 9a48d1df0bba717d96fff9b42e6654c4749c7f4c..3959d1d2144bac5b94374c6333a4e80b53e6b605 100644 (file)
@@ -49,10 +49,12 @@ Alternatively, you can use the new [Jekyll import command](/commands/hugo_import
 - [wordpress-to-hugo-exporter](https://github.com/SchumacherFM/wordpress-to-hugo-exporter) - A one-click WordPress plugin that converts all posts, pages, taxonomies, metadata, and settings to Markdown and YAML which can be dropped into Hugo. (Note: If you have trouble using this plugin, you can [export your site for Jekyll](https://wordpress.org/plugins/jekyll-exporter/) and use Hugo's built in Jekyll converter listed above.)
 - [exitwp-for-hugo](https://github.com/wooni005/exitwp-for-hugo) - A python script which works with the xml export from Wordpress and converts Wordpress pages and posts to Markdown and YAML for hugo.
 - [blog2md](https://github.com/palaniraja/blog2md) - Works with [exported xml](https://en.support.wordpress.com/export/) file of your free YOUR-TLD.wordpress.com website. It also saves approved comments to `YOUR-POST-NAME-comments.md` file along with posts.
+- [wordhugopress](https://github.com/nantipov/wordhugopress) - A small utility written in Java, exports the entire WordPress site from the database and resource (e.g. images) files stored locally or remotelly. Therefore, migration from the backup files is possible. Supports merging of the multiple WordPress sites into a single Hugo one.
 
 ## Medium
 
 - [medium2md](https://github.com/gautamdhameja/medium-2-md) - A simple Medium to Hugo exporter able to import stories in one command, including Front Matter.
+- [medium-to-hugo](https://github.com/bgadrian/medium-to-hugo) - CLI tool written in Go to export medium posts into a Hugo compatible Markdown format. Tags and images are included. All images will be downloaded locally and linked appropriately. 
 
 ## Tumblr
 
index 7b9b92285760009e4a87fc0e00a150c558bf91e3..89e95c3c543765845165960259b3c884f9f998b7 100644 (file)
@@ -3,7 +3,7 @@ publish = "public"
 command = "hugo --gc --minify"
 
 [context.production.environment]
-HUGO_VERSION = "0.64.1"
+HUGO_VERSION = "0.66.0"
 HUGO_ENV = "production"
 HUGO_ENABLEGITINFO = "true"
 
@@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true"
 command = "hugo --gc --minify --enableGitInfo"
 
 [context.split1.environment]
-HUGO_VERSION = "0.64.1"
+HUGO_VERSION = "0.66.0"
 HUGO_ENV = "production"
 
 [context.deploy-preview]
 command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
 
 [context.deploy-preview.environment]
-HUGO_VERSION = "0.64.1"
+HUGO_VERSION = "0.66.0"
 
 [context.branch-deploy]
 command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
 
 [context.branch-deploy.environment]
-HUGO_VERSION = "0.64.1"
+HUGO_VERSION = "0.66.0"
 
 [context.next.environment]
 HUGO_ENABLEGITINFO = "true"
diff --git a/resources/_gen/images/news/0.44-relnotes/featured-hugo-44-poster_hu6505d1982bab71bfe9c6c7adcedfd7f7_77631_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.44-relnotes/featured-hugo-44-poster_hu6505d1982bab71bfe9c6c7adcedfd7f7_77631_640x0_resize_catmullrom_2.png
deleted file mode 100644 (file)
index 841552f..0000000
Binary files a/resources/_gen/images/news/0.44-relnotes/featured-hugo-44-poster_hu6505d1982bab71bfe9c6c7adcedfd7f7_77631_640x0_resize_catmullrom_2.png and /dev/null differ
diff --git a/resources/_gen/images/news/0.45-relnotes/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.45-relnotes/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_640x0_resize_catmullrom_2.png
deleted file mode 100644 (file)
index b259f35..0000000
Binary files a/resources/_gen/images/news/0.45-relnotes/featured-hugo-45-poster_huea79995576e3b93a3041ae824a391758_66863_640x0_resize_catmullrom_2.png and /dev/null differ
diff --git a/resources/_gen/images/news/0.46-relnotes/featured-hugo-46-poster_hue04c7655caa254a1835311c9409185d8_68614_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.46-relnotes/featured-hugo-46-poster_hue04c7655caa254a1835311c9409185d8_68614_640x0_resize_catmullrom_2.png
deleted file mode 100644 (file)
index 5c039e4..0000000
Binary files a/resources/_gen/images/news/0.46-relnotes/featured-hugo-46-poster_hue04c7655caa254a1835311c9409185d8_68614_640x0_resize_catmullrom_2.png and /dev/null differ
diff --git a/resources/_gen/images/news/0.47-relnotes/featured-hugo-47-poster_hud3879b84908b49d38ac2cd1416f654ff_88288_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.47-relnotes/featured-hugo-47-poster_hud3879b84908b49d38ac2cd1416f654ff_88288_640x0_resize_catmullrom_2.png
deleted file mode 100644 (file)
index c87495e..0000000
Binary files a/resources/_gen/images/news/0.47-relnotes/featured-hugo-47-poster_hud3879b84908b49d38ac2cd1416f654ff_88288_640x0_resize_catmullrom_2.png and /dev/null differ
diff --git a/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_480x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_480x0_resize_catmullrom_2.png
new file mode 100644 (file)
index 0000000..1ff012b
Binary files /dev/null and b/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_480x0_resize_catmullrom_2.png differ
diff --git a/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_640x0_resize_catmullrom_2.png
new file mode 100644 (file)
index 0000000..cdf0292
Binary files /dev/null and b/resources/_gen/images/news/0.65.0-relnotes/hugo-65-poster-featured_hu2a74c431783b3f7931799f8c38dbf3fd_115945_640x0_resize_catmullrom_2.png differ
diff --git a/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_480x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_480x0_resize_catmullrom_2.png
new file mode 100644 (file)
index 0000000..abe222e
Binary files /dev/null and b/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_480x0_resize_catmullrom_2.png differ
diff --git a/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_640x0_resize_catmullrom_2.png
new file mode 100644 (file)
index 0000000..93f8409
Binary files /dev/null and b/resources/_gen/images/news/0.66.0-relnotes/hugo-66-poster-featured_hu4d3a62a6d2ad42dd03e2a3723d4914a5_75588_640x0_resize_catmullrom_2.png differ
diff --git a/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_1024x512_fill_catmullrom_top_2.png b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_1024x512_fill_catmullrom_top_2.png
new file mode 100644 (file)
index 0000000..5a6a2c0
Binary files /dev/null and b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_1024x512_fill_catmullrom_top_2.png differ
diff --git a/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_640x0_resize_catmullrom_2.png b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_640x0_resize_catmullrom_2.png
new file mode 100644 (file)
index 0000000..bd37a04
Binary files /dev/null and b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_640x0_resize_catmullrom_2.png differ
diff --git a/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_989c7e76c2c712f873e3f3bc40d31e81.png b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_989c7e76c2c712f873e3f3bc40d31e81.png
new file mode 100644 (file)
index 0000000..796933f
Binary files /dev/null and b/resources/_gen/images/showcase/Aether/featured_hu087b0e6f87446792599d3d3535cdd374_275219_989c7e76c2c712f873e3f3bc40d31e81.png differ
diff --git a/resources/_gen/images/showcase/arolla-cocoon/featured-template_hu22aab819ab27e4f878d1ff0b7cf78050_451984_640x0_resize_catmullrom_2.png b/resources/_gen/images/showcase/arolla-cocoon/featured-template_hu22aab819ab27e4f878d1ff0b7cf78050_451984_640x0_resize_catmullrom_2.png
deleted file mode 100644 (file)
index b653310..0000000
Binary files a/resources/_gen/images/showcase/arolla-cocoon/featured-template_hu22aab819ab27e4f878d1ff0b7cf78050_451984_640x0_resize_catmullrom_2.png and /dev/null differ