github.com/esnet/gdg@v0.6.1-0.20240412190737-6b6eba9c14d8/website/config/_default/hugo.toml (about)

     1  title = "GDG"
     2  baseurl = "https://software.es.net/gdg/"
     3  canonifyurls = false
     4  
     5  relativeURLs = false
     6  
     7  disableAliases = true
     8  disableHugoGeneratorInject = true
     9  # disableKinds = ["taxonomy", "term"]
    10  enableEmoji = true
    11  enableGitInfo = false
    12  enableRobotsTXT = true
    13  languageCode = "en-US"
    14  paginate = 10
    15  rssLimit = 10
    16  summarylength = 20 # 70 (default)
    17  
    18  # Multilingual
    19  defaultContentLanguage = "en"
    20  disableLanguages = ["de", "nl"]
    21  defaultContentLanguageInSubdir = false
    22  
    23  copyRight = ""
    24  
    25  [build.buildStats]
    26    enable = true
    27  
    28  [outputs]
    29    home = ["HTML", "RSS", "searchIndex"]
    30    section = ["HTML", "RSS", "SITEMAP"]
    31  
    32  [outputFormats.searchIndex]
    33    mediaType = "application/json"
    34    baseName = "search-index"
    35    isPlainText = true
    36    notAlternative = true
    37  
    38  # Add output format for section sitemap.xml
    39  [outputFormats.SITEMAP]
    40    mediaType = "application/xml"
    41    baseName = "sitemap"
    42    isHTML = false
    43    isPlainText = true
    44    noUgly = true
    45    rel  = "sitemap"
    46  
    47  [sitemap]
    48    changefreq = "monthly"
    49    filename = "sitemap.xml"
    50    priority = 0.5
    51  
    52  [caches]
    53    [caches.getjson]
    54      dir = ":cacheDir/:project"
    55      maxAge = -1 # "30m"
    56  
    57  [taxonomies]
    58    contributor = "contributors"
    59    category = "categories"
    60    tag = "tags"
    61  
    62  [permalinks]
    63    blog = "/blog/:slug/"
    64    docs = "/docs/:sections[1:]/:slug/"
    65  # docs = "/docs/1.0/:sections[1:]/:slug/"
    66  
    67  [minify.tdewolff.html]
    68    keepWhitespace = false
    69  
    70  [related]
    71    threshold = 80
    72    includeNewer = true
    73    toLower = false
    74      [[related.indices]]
    75        name = "categories"
    76        weight = 100
    77      [[related.indices]]
    78        name = "tags"
    79        weight = 80
    80      [[related.indices]]
    81        name = "date"
    82        weight = 10
    83  
    84  [imaging]
    85    anchor = "Center"
    86    bgColor = "#ffffff"
    87    hint = "photo"
    88    quality = 85
    89    resampleFilter = "Lanczos"