mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 08:42:12 +00:00
![Bjørn Erik Pedersen](/assets/img/avatar_default.png)
ef02e34e Correct the mmark example frontmatter parameter 6e91e900 SectionPagesMenu > sectionPagesMenu 1a0db1a6 Adjust sectionPagesMenu f9f87d9d Fix extension's missing period. 7062ae07 Remove Press and Articles page 771f2b38 Remove outdated and redudant content file for release notes 64cf47c3 Remove outdated note in docs contribution guide bdb11b89 Fix typo 8324af70 Fixes broken link on Roadmap d93f0992 functions: Add all missing binary comparison operators fb7ae80a Fix typo in usage.md fbdae08b Fix typo in content-management/taxonomies.md 66fab8d2 Make <title> less stuttery b3cd4c22 Remove old temp release notes 5589ba96 Fix typos in templates/lists.md af3a0807 http > HTTP b2af90ae Remove formatting in description of blog article 6e2e60a9 Add blog article about Netlify files 0bb6f2f2 Use title in archetype file 7b2490ff Get the Archetypes up to new spec f401d69b Load CSS and JS via HTTP/2 server push 4aef4944 Adjust titles 362acdb2 Fix typo in quickstart c2440560 Remove inline icons from installation guide d2edcbc3 Revert "Fix links to Disqus template documentation" 622f49cf Add a full commands section at the quick start end 752f065b Fix server command in README 93e08e19 Fix links to Disqus template documentation 5e0cfaa9 Adjust Linux install d51397c2 Fix broken link in Quick Start 1fb39846 Add /quickstart alias to quickstart 7440616b Add new and simpler quickstart b3ec6986 Let page title correspond to function name replaceRE b44499c9 Add YouTube tutorial about taxonomies 88b9eb0e Add RSS templates example 6c0bde3f Update slice.md 6c212ea6 Reorder to match the following content order d2122992 Complete "content" spelling under theme components e4824eb3 Fix the output shortcode and its usage 0adfc945 Add archetypes YouTube video 638e9d9b Fix double "your" typo in taxonomies.md git-subtree-dir: docs git-subtree-split: ef02e34eaf296c3f94b4446b3c3347771e786057
235 lines
4.9 KiB
TOML
235 lines
4.9 KiB
TOML
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
|
||
|
||
# See https://help.farbox.com/pygments.html
|
||
pygmentsStyle = "friendly"
|
||
|
||
[outputs]
|
||
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
|
||
section = [ "HTML", "RSS"]
|
||
|
||
[mediaTypes]
|
||
[mediaTypes."text/netlify"]
|
||
suffix = ""
|
||
delimiter = ""
|
||
|
||
[outputFormats]
|
||
[outputFormats.REDIR]
|
||
mediatype = "text/netlify"
|
||
baseName = "_redirects"
|
||
isPlainText = true
|
||
notAlternative = true
|
||
[outputFormats.HEADERS]
|
||
mediatype = "text/netlify"
|
||
baseName = "_headers"
|
||
isPlainText = true
|
||
notAlternative = true
|
||
|
||
[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 = "Hugo-Next"
|
||
## 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/"
|
||
### 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
|
||
hrefTargetBlank = true
|
||
angledQuotes = false
|
||
latexDashes = true
|
||
|
||
## 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 = "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/"
|
||
|
||
# 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"
|