mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
374d184e67
1dc05a16b Update index.md d73a9b3b4 Added StackImpact showcase b0e82b3a5 Fix uglyURLs example cf8a93728 GA track outgoing sponsor clikcs aca59ac66 Move the sponsor banners up a little 5571673f0 Migrate from analytics.js to gtag.js 64a29b6cb Update faq.md 84704aa84 Use GOPATH variable if defined in installation from source 5f70e6ee2 Remove disableRSS etc. from the documentation 4945e7937 Remove superflous asterisks 39f6c9c28 showcase: Add 1password.com fe0f82610 Add GitLab warning 9f26f21d2 Fix URL typo 83a91fc99 Remove duplicate release notes 133cdd313 Release 0.36.1 fbe2a2dc7 Clean images 1b02f9193 Merge branch 'temp361' c430d2d58 Merge branch 'release-0.36.1' dd7370fc4 releaser: Prepare repository for 0.37-DEV 72534f9ec releaser: Add release notes to /docs for release of 0.36.1 845b2cacb releaser: Bump versions for release of 0.36.1 78790fcb1 Add fluid type to showcase details box 4ef59e008 Adjust column widths to handle a wider variety of copy width 6d2e68521 Always show the latest showcase item on front page 665b1eb5e showcase: Shuffle the news items 5fef1f9b7 Escape quote d680f0c16 Add some quotes 1722f0d5a showcase: Make the description more about Hugo a9d43db0a Add Quiply Employee Communications App 7aaa464ec Add Quiply Employee Communications App fad6a25dd maintenance: Show last 30 7afcfdced showcase: Set Linode date to today 0c31f481a New showcase for Linode 6c7687c2d Minor edits to the `apply` documentation 04bbff8b3 Update apply.md f543032e3 Fix clunky sentence 218ba2a65 Some more Netlify improvements 0bd512125 Improve the Netlify versioning docs 7a708d60e Clarify Netlify's Hugo versions handling 8f86342cd Add some space d68d4ff37 Remove now superflous warning bf93a46ea maintenance: Add TODO list 3b5f27835 maintenance: Remove a superflous prefix 8f29ba2fb maintenance: Adjust order 105d53610 maintenance: Add TOC 29e86396b maintenance: Fix page list selection ba51fe66d Finish the Maintenance section e9b0c710c Add latest changes in new spotlight section 8ccd79f61 Fix broken sentence c77643c37 Spelling 919f2faef Remove some old troubleshooting articles 09e467f06 Add a new FAQ ac2b25bb5 Hartwell showcase typos 5bf766993 Trim "www." from shocase URLs in title a180cd5cb Make the inline showcase template names unique 6886982fd Merge commit '9cc9bab46288d8d5f9fda7009c5f746258cec1b4' 09728efbf Add "target" and "rel" parameters to figure shortcode git-subtree-dir: docs git-subtree-split: 1dc05a16bd6b99809d97daeda743d914297f908c
274 lines
5.8 KiB
TOML
274 lines
5.8 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
|
||
|
||
pygmentsOptions = ""
|
||
# Use the Chroma stylesheet
|
||
pygmentsUseClasses = true
|
||
pygmentsUseClassic = false
|
||
|
||
# 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
|
||
|
||
[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.36.1"
|
||
## 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"
|
||
|
||
# Defatult 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 = "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"
|