# Need help checking if site config is correct

**URL:** <https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465>\
**Category:** support\
**Created:** [January 9, 2022, 10:31am UTC](https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465 "2022-01-09T10:31:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![askel45](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@askel45](https://discourse.gohugo.io/u/askel45)\
**Post date:** [January 9, 2022, 10:31am UTC](https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465/1 "2022-01-09T10:31:54Z")

</div>

If anyone is willing, kindly help me determine if the code below is correct, and if there are any mistakes, e.g. code that should be in root being nested below another.

```auto
baseURL = "https://example.com/"
title = "SiteWeb"
languageCode = "en-US"
timezone = "Asia/xxx"
copyright = "© 2015-{year} SitewEB."

staticDir = ['assets']

paginate = 10

pluralizeListTitles = false

disableKinds = ["taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]

[permalinks]
 posts = "/:filename/"
 pages = "/:slug/"

[frontmatter]
  date = ['date']
  lastmod = ['lastmod']

[outputs]
	home = ["HTML","RSS","JSON"]

 [taxonomies]
    category = "category"
   
 [outputFormats]
  [outputFormats.RSS]
   mediatype = "application/rss"
   baseName = "feed"

   rssLimit = 10

   enableRobotsTXT = false

   disableHugoGeneratorInject = true

  [markup]

   [markup.tableOfContents]
     endLevel = 4
     ordered = false
     startLevel = 2

    [markup.goldmark]

   [markup.goldmark.renderer]
     unsafe = "true"

    [markup.goldmark.extensions]
      typographer = true
      linkify = false

 [sitemap]
   changefreq = "daily"
   priority = 0.5
   filename = "sitemap.xml"

 [related]
   includeNewer = true
   threshold = 85
   toLower = false

  [[related.indices]]
   name = "category"
   weight = 85

```

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [January 9, 2022, 10:51am UTC](https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465/2 "2022-01-09T10:51:52Z")

</div>

Looks good. Also note that there are online tools to check the validity of TOML (as well as other languages e.g. JSON, YAML etc) like this [one](https://www.toml-lint.com/).

---

<div class="post-metadata">

**Author:** ![askel45](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@askel45](https://discourse.gohugo.io/u/askel45)\
**Post date:** [January 9, 2022, 11:12am UTC](https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465/3 "2022-01-09T11:12:37Z")

</div>

I will bookmark that. I have noticed some online tutorials on Hugo use outdated examples hence why I needed to test. For example, one guide has `paginate = "12"` while searching through the forum, the advice is to omit the quotes.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [January 11, 2022, 11:13am UTC](https://discourse.gohugo.io/t/need-help-checking-if-site-config-is-correct/36465/4 "2022-01-11T11:13:09Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
