summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--config.toml412
-rw-r--r--content/en/commands/hugo.md7
-rw-r--r--content/en/commands/hugo_check.md4
-rw-r--r--content/en/commands/hugo_check_ulimit.md4
-rw-r--r--content/en/commands/hugo_config.md4
-rw-r--r--content/en/commands/hugo_convert.md8
-rw-r--r--content/en/commands/hugo_convert_toJSON.md4
-rw-r--r--content/en/commands/hugo_convert_toTOML.md4
-rw-r--r--content/en/commands/hugo_convert_toYAML.md4
-rw-r--r--content/en/commands/hugo_env.md4
-rw-r--r--content/en/commands/hugo_gen.md4
-rw-r--r--content/en/commands/hugo_gen_autocomplete.md4
-rw-r--r--content/en/commands/hugo_gen_chromastyles.md4
-rw-r--r--content/en/commands/hugo_gen_doc.md4
-rw-r--r--content/en/commands/hugo_gen_man.md4
-rw-r--r--content/en/commands/hugo_import.md4
-rw-r--r--content/en/commands/hugo_import_jekyll.md4
-rw-r--r--content/en/commands/hugo_list.md4
-rw-r--r--content/en/commands/hugo_list_drafts.md4
-rw-r--r--content/en/commands/hugo_list_expired.md4
-rw-r--r--content/en/commands/hugo_list_future.md4
-rw-r--r--content/en/commands/hugo_new.md7
-rw-r--r--content/en/commands/hugo_new_site.md4
-rw-r--r--content/en/commands/hugo_new_theme.md4
-rw-r--r--content/en/commands/hugo_server.md7
-rw-r--r--content/en/commands/hugo_version.md4
-rw-r--r--content/en/content-management/front-matter.md3
-rw-r--r--content/en/content-management/summaries.md23
-rw-r--r--content/en/content-management/urls.md8
-rw-r--r--content/en/getting-started/configuration.md5
-rwxr-xr-xcontent/en/hugo-pipes/fingerprint.md2
-rw-r--r--content/en/news/0.55.0-relnotes/featured.pngbin0 -> 1221797 bytes
-rw-r--r--content/en/news/0.55.0-relnotes/index.md194
-rw-r--r--content/en/readfiles/bfconfig.md5
-rw-r--r--content/en/troubleshooting/faq.md2
-rw-r--r--content/en/variables/page.md17
-rw-r--r--data/docs.json212
-rw-r--r--layouts/shortcodes/note.html1
-rw-r--r--layouts/shortcodes/tip.html1
-rw-r--r--layouts/shortcodes/warning.html1
-rw-r--r--netlify.toml8
-rw-r--r--resources/_gen/assets/css/output/css/app.css_d11fe7b62c27961c87ecd0f2490357b9.content2
-rw-r--r--resources/_gen/assets/css/output/css/app.css_d11fe7b62c27961c87ecd0f2490357b9.json2
-rw-r--r--resources/_gen/images/news/0.55.0-relnotes/featured_hu9474666a09966109e944f93e1ecf78c0_1221797_480x0_resize_catmullrom_2.pngbin0 -> 173126 bytes
-rw-r--r--resources/_gen/images/news/0.55.0-relnotes/featured_hu9474666a09966109e944f93e1ecf78c0_1221797_640x0_resize_catmullrom_2.pngbin0 -> 307282 bytes
-rw-r--r--resources/_gen/images/showcase/fireship/featured_hu3bba74627b7e233d29d5aecb29c8d0f1_136959_1024x512_fill_catmullrom_top_2.pngbin0 -> 98052 bytes
-rw-r--r--resources/_gen/images/showcase/fireship/featured_hu3bba74627b7e233d29d5aecb29c8d0f1_136959_640x0_resize_catmullrom_2.pngbin0 -> 45700 bytes
-rw-r--r--resources/_gen/images/showcase/fireship/featured_hu3bba74627b7e233d29d5aecb29c8d0f1_136959_9bf5371384e80c9f59e1f5e018440c34.pngbin0 -> 32680 bytes
-rw-r--r--themes/gohugoioTheme/layouts/_default/baseof.html2
-rw-r--r--themes/gohugoioTheme/layouts/news/single.html8
-rw-r--r--themes/gohugoioTheme/layouts/partials/boxes-section-summaries.html2
-rw-r--r--themes/gohugoioTheme/layouts/partials/boxes-small-news.html2
-rw-r--r--themes/gohugoioTheme/layouts/partials/entry-summary.html2
-rw-r--r--themes/gohugoioTheme/layouts/partials/page-header.html2
-rw-r--r--themes/gohugoioTheme/layouts/partials/tags.html6
-rw-r--r--themes/gohugoioTheme/layouts/shortcodes/note.html1
-rw-r--r--themes/gohugoioTheme/layouts/shortcodes/tip.html1
-rw-r--r--themes/gohugoioTheme/layouts/shortcodes/warning.html1
59 files changed, 940 insertions, 99 deletions
diff --git a/.gitignore b/.gitignore
index 190dfb1ab..b203a37cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/public
nohup.out
.DS_Store
+trace.out \ No newline at end of file
diff --git a/config.toml b/config.toml
new file mode 100644
index 000000000..a7eb54cf8
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,412 @@
+baseURL = "https://gohugo.io/"
+paginate = 100
+defaultContentLanguage = "en"
+enableEmoji = true
+# Set the unicode character used for the "return" link in page footnotes.
+footnotereturnlinkcontents = "↩"
+languageCode = "en-us"
+metaDataFormat = "yaml"
+title = "Hugo"
+theme = "gohugoioTheme"
+
+googleAnalytics = "UA-7131036-4"
+
+pluralizeListTitles = false
+
+# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
+disableAliases = true
+
+# Highlighting config (Pygments)
+# It is (currently) not in use, but you can do ```go in a content file if you want to.
+pygmentsCodeFences = true
+
+pygmentsOptions = ""
+# Use the Chroma stylesheet
+pygmentsUseClasses = true
+pygmentsUseClassic = false
+
+# See https://help.farbox.com/pygments.html
+pygmentsStyle = "trac"
+
+[outputs]
+home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
+section = [ "HTML", "RSS"]
+
+[mediaTypes]
+[mediaTypes."text/netlify"]
+delimiter = ""
+
+[outputFormats]
+[outputFormats.REDIR]
+mediatype = "text/netlify"
+baseName = "_redirects"
+isPlainText = true
+notAlternative = true
+[outputFormats.HEADERS]
+mediatype = "text/netlify"
+baseName = "_headers"
+isPlainText = true
+notAlternative = true
+
+[related]
+
+threshold = 80
+includeNewer = true
+toLower = false
+
+[[related.indices]]
+name = "keywords"
+weight = 100
+[[related.indices]]
+name = "date"
+weight = 10
+pattern = "2006"
+
+[social]
+twitter = "GoHugoIO"
+
+#CUSTOM PARAMS
+[params]
+ description = "The world’s fastest framework for building websites"
+ ## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
+ release = "0.55.0-DEV"
+ ## Setting this to true will add a "noindex" to *EVERY* page on the site
+ removefromexternalsearch = false
+ ## Gh repo for site footer (include trailing slash)
+ ghrepo = "https://github.com/gohugoio/hugoDocs/"
+ ## GH Repo for filing a new issue
+ github_repo = "https://github.com/gohugoio/hugo/issues/new"
+ ### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
+ ghdocsrepo = "https://github.com/gohugoio/hugoDocs/tree/master/docs"
+ ## Gitter URL
+ gitter = "https://gitter.im/spf13/hugo"
+ ## Discuss Forum URL
+ forum = "https://discourse.gohugo.io/"
+ ## Google Tag Manager
+ gtmid = ""
+
+ # First one is picked as the Twitter card image if not set on page.
+ images = ["images/gohugoio-card.png"]
+
+ flex_box_interior_classes = "flex-auto w-100 w-40-l mr3 mb3 bg-white ba b--moon-gray nested-copy-line-height"
+
+ #sidebar_direction = "sidebar_left"
+
+# MARKDOWN
+## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
+[blackfriday]
+ plainIDAnchors = true
+ # See https://github.com/gohugoio/hugo/issues/2424
+ hrefTargetBlank = false
+ angledQuotes = false
+ latexDashes = true
+
+[imaging]
+# See https://github.com/disintegration/imaging
+# CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots.
+# Note that you can also set this per image processing.
+resampleFilter = "CatmullRom"
+
+# Default JPEG quality setting. Default is 75.
+quality = 75
+
+anchor = "smart"
+
+
+## As of v0.20, all content files include a default "categories" value that's the same as the section. This was a cheap future-proofing method and should/could be changed accordingly.
+[taxonomies]
+ category = "categories"
+
+# High level items
+
+[[menu.docs]]
+ name = "About Hugo"
+ weight = 1
+ identifier = "about"
+ url = "/about/"
+
+[[menu.docs]]
+ name = "Getting Started"
+ weight = 5
+ identifier = "getting-started"
+ url = "/getting-started/"
+
+
+[[menu.docs]]
+ name = "Themes"
+ weight = 15
+ identifier = "themes"
+ post = "break"
+ url = "/themes/"
+
+# Core Menus
+
+[[menu.docs]]
+ name = "Content Management"
+ weight = 20
+ identifier = "content-management"
+ post = "expanded"
+ url = "/content-management/"
+
+[[menu.docs]]
+ name = "Templates"
+ weight = 25
+ identifier = "templates"
+
+ url = "/templates/"
+
+[[menu.docs]]
+ name = "Functions"
+ weight = 30
+ identifier = "functions"
+ url = "/functions/"
+
+[[menu.docs]]
+ name = "Variables"
+ weight = 35
+ identifier = "variables"
+ url = "/variables/"
+[[menu.docs]]
+ name = "Hugo Pipes"
+ weight = 36
+ identifier = "pipes"
+ url = "/hugo-pipes/"
+[[menu.docs]]
+ name = "CLI"
+ weight = 40
+ post = "break"
+ identifier = "commands"
+ url = "/commands/"
+
+
+
+# LOW LEVEL ITEMS
+
+
+[[menu.docs]]
+ name = "Troubleshooting"
+ weight = 60
+ identifier = "troubleshooting"
+ url = "/troubleshooting/"
+
+[[menu.docs]]
+ name = "Tools"
+ weight = 70
+ identifier = "tools"
+ url = "/tools/"
+
+[[menu.docs]]
+ name = "Hosting & Deployment"
+ weight = 80
+ identifier = "hosting-and-deployment"
+ url = "/hosting-and-deployment/"
+
+[[menu.docs]]
+ name = "Contribute"
+ weight = 100
+ post = "break"
+ identifier = "contribute"
+ url = "/contribute/"
+
+#[[menu.docs]]
+# name = "Tags"
+# weight = 120
+# identifier = "tags"
+# url = "/tags/"
+
+
+# [[menu.docs]]
+# name = "Categories"
+# weight = 140
+# identifier = "categories"
+# url = "/categories/"
+
+######## QUICKLINKS
+
+ [[menu.quicklinks]]
+ name = "Fundamentals"
+ weight = 1
+ identifier = "fundamentals"
+ url = "/tags/fundamentals/"
+
+
+
+
+######## GLOBAL ITEMS TO BE SHARED WITH THE HUGO SITES
+
+[[menu.global]]
+ name = "News"
+ weight = 1
+ identifier = "news"
+ url = "/news/"
+
+ [[menu.global]]
+ name = "Docs"
+ weight = 5
+ identifier = "docs"
+ url = "/documentation/"
+
+ [[menu.global]]
+ name = "Themes"
+ weight = 10
+ identifier = "themes"
+ url = "https://themes.gohugo.io/"
+
+ [[menu.global]]
+ name = "Showcase"
+ weight = 20
+ identifier = "showcase"
+ url = "/showcase/"
+
+ # Anything with a weight > 100 gets an external icon
+ [[menu.global]]
+ name = "Community"
+ weight = 150
+ icon = true
+ identifier = "community"
+ post = "external"
+ url = "https://discourse.gohugo.io/"
+
+
+ [[menu.global]]
+ name = "GitHub"
+ weight = 200
+ identifier = "github"
+ post = "external"
+ url = "https://github.com/gohugoio/hugo"
+
+### LANGUAGES ###
+
+[languages]
+ [languages.en]
+ contentDir = "content/en"
+ languageName = "English"
+ weight = 1
+ [languages.zh]
+ contentDir = "content/zh"
+ languageName = "中文"
+ weight = 2
+
+
+### LANGUAGE-SPECIFIC MENUS ###
+
+# Chinese menus
+
+[[languages.zh.menu.docs]]
+ name = "关于 Hugo"
+ weight = 1
+ identifier = "about"
+ url = "/zh/about/"
+
+[[languages.zh.menu.docs]]
+ name = "入门"
+ weight = 5
+ identifier = "getting-started"
+ url = "/zh/getting-started/"
+
+[[languages.zh.menu.docs]]
+ name = "主题"
+ weight = 15
+ identifier = "themes"
+ post = "break"
+ url = "/zh/themes/"
+
+# Core languages.zh.menus
+
+[[languages.zh.menu.docs]]
+ name = "内容管理"
+ weight = 20
+ identifier = "content-management"
+ post = "expanded"
+ url = "/zh/content-management/"
+
+[[languages.zh.menu.docs]]
+ name = "模板"
+ weight = 25
+ identifier = "templates"
+ url = "/zh/templates/"
+
+[[languages.zh.menu.docs]]
+ name = "函数"
+ weight = 30
+ identifier = "functions"
+ url = "/zh/functions/"
+
+[[languages.zh.menu.docs]]
+ name = "变量"
+ weight = 35
+ identifier = "variables"
+ url = "/zh/variables/"
+
+[[languages.zh.menu.docs]]
+ name = "CLI"
+ weight = 40
+ post = "break"
+ identifier = "commands"
+ url = "/commands/"
+
+# LOW LEVEL ITEMS
+[[languages.zh.menu.docs]]
+ name = "故障排除"
+ weight = 60
+ identifier = "troubleshooting"
+ url = "/zh/troubleshooting/"
+
+[[languages.zh.menu.docs]]
+ name = "工具"
+ weight = 70
+ identifier = "tools"
+ url = "/zh/tools/"
+
+[[languages.zh.menu.docs]]
+ name = "托管与部署"
+ weight = 80
+ identifier = "hosting-and-deployment"
+ url = "/zh/hosting-and-deployment/"
+
+[[languages.zh.menu.docs]]
+ name = "贡献"
+ weight = 100
+ post = "break"
+ identifier = "contribute"
+ url = "/zh/contribute/"
+
+[[languages.zh.menu.global]]
+ name = "新闻"
+ weight = 1
+ identifier = "news"
+ url = "/zh/news/"
+
+[[languages.zh.menu.global]]
+ name = "文档"
+ weight = 5
+ identifier = "docs"
+ url = "/zh/documentation/"
+
+[[languages.zh.menu.global]]
+ name = "主题"
+ weight = 10
+ identifier = "themes"
+ url = "https://themes.gohugo.io/"
+
+[[languages.zh.menu.global]]
+ name = "作品展示"
+ weight = 20
+ identifier = "showcase"
+ url = "/zh/showcase/"
+
+# Anything with a weight > 100 gets an external icon
+[[languages.zh.menu.global]]
+ name = "社区"
+ weight = 150
+ icon = true
+ identifier = "community"
+ post = "external"
+ url = "https://discourse.gohugo.io/"
+
+[[languages.zh.menu.global]]
+ name = "GitHub"
+ weight = 200
+ identifier = "github"
+ post = "external"
+ url = "https://github.com/gohugoio/hugo"
diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md
index 70cb53c29..9ef8b3a04 100644
--- a/content/en/commands/hugo.md
+++ b/content/en/commands/hugo.md
@@ -1,5 +1,5 @@
---
-date: 2019-01-30
+date: 2019-03-26
title: "hugo"
slug: hugo
url: /commands/hugo/
@@ -49,14 +49,15 @@ hugo [flags]
--minify minify any supported output format (HTML, XML etc.)
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
+ --path-warnings print warnings on duplicate target paths etc.
--quiet build in quiet mode
--renderToMemory render to memory (only useful for benchmark testing)
-s, --source string filesystem path to read files relative from
- --stepAnalysis display memory and timing of different steps of the program
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
+ --trace file write trace to file (not useful in general)
-v, --verbose verbose output
--verboseLog verbose logging
-w, --watch watch filesystem for changes and recreate as needed
@@ -75,4 +76,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 30-Jan-2019
+###### Auto generated by spf13/cobra on 26-Mar-2019
diff --git a/content/en/commands/hugo_check.md b/content/en/commands/hugo_check.md
index 4e649fb56..d4b1d56e2 100644
--- a/content/en/commands/hugo_check.md
+++ b/content/en/commands/hugo_check.md
@@ -1,5 +1,5 @@
---
-date: 2019-01-30
+date: 2019-03-26
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
@@ -36,4 +36,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 30-Jan-2019
+###### Auto generated by spf13/cobra on 26-Mar-2019
diff --git a/content/en/commands/hugo_check_ulimit.md b/content/en/commands/hugo_check_ulimit.md
index 185ef310f..c7be29efa 100644
--- a/content/en/commands/hugo_check_ulimit.md
+++ b/content/en/commands/hugo_check_ulimit.md
@@ -1,5 +1,5 @@
---
-date: 2019-01-30
+date: 2019-03-26
title: "hugo check ulimit"
slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/
@@ -40,4 +40,4 @@ hugo check ulimit [flags]
* [hugo check](/commands/hugo_check/) - Contains some verification checks
-###### Auto generated by spf13/cobra on 30-Jan-2019
+###### Auto generated by spf13/cobra on 26-Mar-2019
diff --git a/content/en/commands/hugo_config.md b/content/en/commands/hugo_config.md
index c488cc7e0..5236b5fac 100644
--- a/content/en/commands/hugo_config.md
+++ b/content/en/commands/hugo_config.md
@@ -1,5 +1,5 @@
---
-date: 2019-01-30
+date: 2019-03-26
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
@@ -40,4 +40,4 @@ hugo config [flags]
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 30-Jan-2019
+###### Auto generated by spf13/cobra on 26-Mar-2019
diff --git a/content/en/commands/hugo_convert.md b/content/en/commands/hugo_convert.md
index f04338066..41d45dbb2 100644
--- a/content/en/commands/hugo_convert.md
+++ b/content/en/commands/hugo_convert.md
@@ -1,5 +1,5 @@
---
-date: 2019-01-30
+date: 2019-03-26
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
@@ -10,12 +10,10 @@ Convert your content to different formats
### Synopsis
-Convert your content files (front matter) to different formats.
+Convert your content (e.g. front matter) to different formats.
See convert's subcommands toJSON, toTOML and toYAML for more information.
-**Please Note:** This will convert front matter only. It does not convert theme and configuration files (e.g. config.toml, theme.toml). Those files will need to be manually changed to your preference.
-
### Options
<