The site parameters are located in config/_default/params.toml by default.

NameTypeDefaultDescription
sass_transpilerstringlibsassdartsass is recommended, since libsass is deprecated.
Page
mainSectionsArray["posts"]Main sections
titleCaseBooleanfalseCapitalized title or not
titleSeparatorString-Title separator
backgroundImageArray[]Background image, such as ['/images/bg.png'], ['/images/bg-light.png', '/images/bg-dark.png'].
commentBooleantrueWhether to enable comments
tocBooleantrueWhether to enable TOC
tocWordCountInteger280TOC is displayed only if the post’s word count is greater than this value.
tocPositionStringsidebarAvailable values: sidebar and content, only the posts layout is affected.
breadcrumbBooleantrueWhether to enable breadcrumb
dateFormatStringJan 2, 2006Date format. Checkout the Hugo Date and Time Templating Reference for details.
poweredByBooleantrueWhether to show powered by.
readingTimeBooleantrueWhether to display the reading time.
postDateBooleantrueWhether to display the post date in the post meta section.
mathBooleanfalseWhether to enable math globally.
diagramBooleanfalseWhether to enable diagram globally.
logoString/Booleanimages/logo.webpLogo image. Disable logo by setting it to false.
brandString-Brand text.
descriptionString-Site description.
keywordsString-Site keywords.
colorString-Color mode, light, dark or auto. Default to auto.
paletteString-Default palette. This will take effect after clearing the Cookie.
palettesArrayALLAvailable palettes. You can disable it by setting it to empty [].
carouselPostCountInteger5The number of posts shown on the homepage carousel.
featuredPostCountInteger/Boolean5The number of featured posts shown in sidebar. Turn off by setting it to false.
recentPostCountInteger/Boolean5The number of recent posts shown in sidebar. Turn off by setting it to false.
relatedPostCountInteger/Boolean5The number of related posts. Turn off by setting it to false.
categoryCountInteger/Boolean10The number of categories shown in sidebar. Turn off by setting it to false.
tagCountInteger/Boolean10The number of tags shown in sidebar. Turn off by setting it to false.
seriesCountInteger10The number of series shown in sidebar.
taxonomyPaginateInteger10
taxonomyPostCountInteger3The number of taxonomy’s posts. Turn off by setting it to false.
taxonomySortingMethodString-Sorting taxonomies by popularity, sort alphabetically by default.
countTaxonomyPostsBooleanfalseCount posts of taxonomy.
sidebarTaxonomiesArray["series", "categories", "tags"]The taxonomies on the sidebar.
fullWidthBooleanfalseFull width.
fullWidthInSectionsObject-Specify the full width for particular sections, such as posts, docs.
fixedHeaderBooleantrueTurn on/off fixed header.
rewardObject-Reward Widget, AKA Buy Me a Coffee Widget.
externalLinkIconBooleantrueWhether to show the icons after the external links.
shareObject-Share buttons
share.addThisString-AddThis’s pubid.
fontSizeObjectFont SizesComment or remove this parameter to disable font size switcher.
fontSize.smallString.9remSmall font size.
fontSize.extraSmallString.8remExtra small font size.
fontSize.largeString1.1remLarge font size.
fontSize.extraLargeString1.2remExtra large font size.
socialObject-Social Links.
socialShareBooleantrueTurn on/off built-on social share button.
searchBarBooleantrueTurn on/off built-on search bar.
archiveObject-Archive.
searchObject-Search.
docsearchObject-DocSearch
docsearch.containerString.search-button
docsearch.appIdString-
docsearch.indexNameString-
docsearch.apiKeyString-
docsearch.debugBooleanfalse
docsearch.*Boolean/String/Number-https://docsearch.algolia.com/docs/api/
algoliaObject-See Algolia
Top App Bar
topAppBarObject-
topAppBar.socialObject-Social Links.
topAppBar.colorToggleBooleantrueTurn on/off the color/mode toggle.
topAppBar.coloredInDarkBooleanfalseColored in dark mode.
topAppBar.dropdownMenuToggleBooleantrueHide the dropdown menu toggle.
Webmaster Site Verification
siteVerificationObject-
siteVerification.googleString-Google
siteVerification.bingString-Bing
siteVerification.baiduString-Baidu
siteVerification.baiduUnionString-Baidu Union
siteVerification.soString-Qihoo 360
siteVerification.sogouString-Sogou
siteVerification.shenmaString-Shenma
Analytics
analyticsObject-Analytics configuration.
analytics.baiduString-Baidu Analytics.
analytics.plausibleString-Plausible Analytics Domains. Multiple domains separate by comma.
analytics.plausibleScriptStringhttps://plausible.io/js/script.jsSpecify the self-hosted Plausible Analytics script or extended script.
googleAdsenseString-Google Adsense.
customCSSArray-See also custom assets.
customJSArray-See also custom assets.
utterancesObject-Utterances configuration.
giscusObject-Giscus configuration.
Creative Commons License
creativeCommonsObject-
creativeCommons.byBooleantrueCredit must be given to you, the creator.
creativeCommons.ncBooleantrueOnly noncommercial use of your work is permitted.
creativeCommons.ndBooleantrueNo derivatives or adaptations of your work are permitted.
creativeCommons.saBooleantrueAdaptations must be shared under the same terms.
Code Block
codeBlockObject-
codeBlock.maxLinesInteger7
codeBlock.lineNosBooleantruetrue/false represents that show/hide the line numbers by default.
Post
postObject-
post.excerptStringDescriptionThe description will be used as the excerpt if not empty, to use summaries as excerpt, you’ll need to set it as empty string explicitly.
post.excerptMaxLengthInteger320
post.copyrightBooleantrueWhether to display copyright section on each post.
post.plainifyExcerptBooleantrueFormat excerpt in HTML if false.
post.featuredImageBooleanfalseShow the featured image above the content.
post.numberifyHeadingsBooleanfalseCount headings automatically.
post.numberifyHeadingsEndLevelNumber6The depth of headings to count.
post.numberifyHeadingsSeparatorString-The separator between of number and headings.
post.tocStyleTypeStringnoneThe TOC’s CSS list-style-type property.
post.imageTitleAsCaptionBooleanfalseUse image title as caption.
post.panelBooleantrueTurn on/off the post panel.
post.navBooleantrueTurn on/off the navigations.
post.readMoreFromContentBooleanfalseThe page position after clicking the read more button, read more from content if true. Default to the beginning of page. It supports only of the manual summaries splitting via <!--more-->.
viewerBooleantrueImage Viewer
pwaObject-Progressive Web Apps
Sidebar
sidebarObject-
sidebar.fixedBooleanfalseFix default sidebar.
sidebar.taxonomiesToggleBooleantrueShow the taxonomies toggle widget on the sidebar.
sidebar.taxonomiesToggleArchivesBooleantrueShow/Hide the archives from the taxonomies toggle.
sidebar.seriesBooleanfalseShow the series widget on the sidebar.
sidebar.categoriesBooleanfalseShow the categories widget on the sidebar.
sidebar.tagsBooleanfalseShow the tags widget on the sidebar.
sidebar.archivesBooleanfalseShow the archive widget on the sidebar.
sidebar.authorsBooleanfalseShow the authors widget on the sidebar.
sidebar.postsToggleBooleantrueShow the posts toggle on the sidebar.
sidebar.featuredPostsBooleanfalseShow the featured posts widget on the sidebar.
sidebar.recentPostsBooleanfalseShow the recent posts widget on the sidebar.
sidebar.collapsedBooleanflaseCollapse sidebar widgets by default on small screens.
Meta Tag
metaRobotsString-Empty means that turn it off.
contactObject-Contact Form
pinnedPostBooleantrueTurn on/off pinned posts.
pinnedPostCountInteger1The number of pinned posts.
rssString/BooleantrueDisplay the RSS button on the social links. Turn it off by false, link it to homepage all the times by setting it to home.
feedsObject-RSS feeds
feeds.contentBooleanfalseDisplay the full content if ebabled.
actionsPanelObject-
actionsPanel.disabledBooleanfalseDisable actions panel.
repoObject-See Repository widget.
docs.navObject-Docs layout navigation.
docs.nav.reduceFontSizeBooleantrueWhen false, don’t reduce the font size of children navigation.

Except the Google webmaster tool, the other webmaster tools cannot work with hugo --minify, because they cannot recognize the minified meta tag.