# -- Site Configuration --
# Refer to the theme docs for more details about each of these parameters.
# https://jpanther.github.io/congo/docs/getting-started/

baseURL = "https://oe7drt.com/"
defaultContentLanguage = "en"
relativeURLs = false

enableRobotsTXT = true
summaryLength = 0

#enableGitInfo = true

ignoreFiles = [ "\\.temp$" ]

[pagination]
pagerSize = 10

# [permalinks]
#   #post = '/:sections[last]/:year-:month-:day-:slug/'
#   posts = '/:sections[last]/:year-:month-:day-:slug/'
#   # page = "/:slug/"
#   # categories = "/:section/:slug/"
#   # categories = "/:slug/"

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

# removed for now
# [mediaTypes]
#   [mediaTypes."application/atom"]
#     suffixes     = ["xml"]
#
# [outputFormats.Atom]
#   mediaType      = "application/atom"
#   baseName       = "index"
#   isPlainText    = false
#
# [outputFormats.HumansTXT]
#   mediaType      = "text/plain"
#   baseName       = "humans"
#   isPlainText    = true
#   notAlternative = true
#
# [outputFormats.Tootpick]
#   mediaType      = "text/html"
#   basename       = "tootpick"
#   isPlainText    = false
#   isHTML         = true
#   notAlternative = true
#
# [outputs]
#   home = [ "HTML", "Atom", "JSON", "HumansTXT", "Tootpick" ]
#   page = ["HTML"]
#   section = ["HTML", "Atom"]
#   # taxonomyTerm = ["HTML"]
#   taxonomy = ["HTML"]

# https://discourse.gohugo.io/t/atom-and-json-feeds/13572
disableKinds = ["RSS"]  # kick out RSS

[mediaTypes]
  [mediaTypes."application/atom+xml"]
    suffixes = ["xml"]


[outputFormats.HTML]
baseName              = "index"
NoUgly                = true


[outputFormats.ATOM]
MediaType             = "application/atom+xml"
BaseName              = "feed"
suffix                = "xml"
IsHTML                = false
IsPlainText           = false
noUgly                = true
Rel                   = "alternate"

[outputFormats.JSON]
MediaType             = "application/json"
BaseName              = "feed"
suffix                = "json"
IsHTML                = false
IsPlainText           = true
noUgly                = false
Rel                   = "alternate"

[outputFormats.HumansTXT]
mediaType      = "text/plain"
baseName       = "humans"
isPlainText    = true
notAlternative = true

[outputFormats.Tootpick]
mediaType      = "text/html"
basename       = "tootpick"
isPlainText    = false
isHTML         = true
notAlternative = true

[outputs]
home                  = [ "HTML", "ATOM", "JSON", "HumansTXT", "Tootpick"]
section               = [ "HTML",  ]
page                  = [ "HTML" ]
taxonomy              = [ "HTML" ]
#taxonomyTerm          = [ "HTML" ]

[related]
  includeNewer = true
  threshold = 80
  toLower = true

  [[related.indices]]
    name = "title"
    weight = 30

  [[related.indices]]
    name = "summary"
    weight = 30

  [[related.indices]]
    name = "description"
    weight = 30

  [[related.indices]]
    name = "tags"
    weight = 30

  [[related.indices]]
    name = "date"
    weight = 10

# [module]
# [[module.mounts]]
#   source = 'assets'
#   target = 'assets'
#   # excludeFiles = ['posts/**/*.drawio']
#   excludeFiles = ['js/*-interaction.js', 'js/lightbox.js']