"Fossies" - the Fresh Open Source Software Archive

Member "hugo-0.113.0/docs/hugo.toml" (5 Jun 2023, 2750 Bytes) of package /linux/www/hugo-0.113.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TOML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "hugo.toml": 0.111.3_vs_0.112.0.

    1 # This his the main configuration file. There are also environment specific configuration stored in the /config directory.
    2 
    3 baseURL                = "https://gohugo.io/"
    4 defaultContentLanguage = "en"
    5 enableEmoji            = true
    6 googleAnalytics        = "G-MBZGKNMDWC"
    7 ignoreErrors           = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
    8 languageCode           = "en-us"
    9 paginate               = 100
   10 pluralizeListTitles    = false
   11 timeZone               = "Europe/Oslo"
   12 title                  = "Hugo"
   13 
   14 # We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
   15 disableAliases = true
   16 
   17 [minify]
   18   [minify.tdewolff]
   19     [minify.tdewolff.html]
   20       keepWhitespace = true
   21 
   22 [module]
   23   [module.hugoVersion]
   24     min = "0.56.0"
   25   [[module.imports]]
   26     path = "github.com/gohugoio/gohugoioTheme"
   27 
   28 [outputs]
   29   home    = ["HTML", "RSS", "REDIR", "HEADERS"]
   30   section = ["HTML", "RSS"]
   31 
   32 [mediaTypes]
   33   [mediaTypes."text/netlify"]
   34     delimiter = ""
   35 
   36 [outputFormats]
   37   [outputFormats.REDIR]
   38     mediatype      = "text/netlify"
   39     baseName       = "_redirects"
   40     isPlainText    = true
   41     notAlternative = true
   42   [outputFormats.HEADERS]
   43     mediatype      = "text/netlify"
   44     baseName       = "_headers"
   45     isPlainText    = true
   46     notAlternative = true
   47 
   48 [caches]
   49   [caches.getjson]
   50     dir    = ":cacheDir/:project"
   51     maxAge = -1
   52   [caches.getcsv]
   53     dir    = ":cacheDir/:project"
   54     maxAge = -1
   55   [caches.images]
   56     dir    = ":cacheDir/images"
   57     maxAge = "1440h"
   58   [caches.assets]
   59     dir    = ":resourceDir/_gen"
   60     maxAge = -1
   61 
   62 [related]
   63   threshold    = 80
   64   includeNewer = true
   65   toLower      = false
   66   [[related.indices]]
   67     name   = "keywords"
   68     weight = 60
   69   [[related.indices]]
   70     # Can be used as a front matter slice to link to other page fragments (headings) using their ID.
   71     # This isn't particular useful in the current docs, but we're planning on getting a auto generated
   72     # reference section with a better ID setup.
   73     # For now, we just use it to give pages with same headings some similarity score.
   74     name                 = "fragmentrefs"
   75     type                 = "fragments"
   76     applyFilter          = false
   77     weight               = 60
   78     cardinalityThreshold = 50
   79   [[related.indices]]
   80     name    = "date"
   81     weight  = 10
   82     pattern = "2006"
   83 
   84 [social]
   85   twitter = "GoHugoIO"
   86 
   87 [imaging]
   88   # See https://github.com/disintegration/imaging
   89   # CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots.
   90   # Note that you can also set this per image processing.
   91   resampleFilter = "CatmullRom"
   92   # Default JPEG quality setting. Default is 75.
   93   quality = 75
   94   anchor  = "smart"
   95 
   96 [taxonomies]
   97   category = "categories"