hugover = "0.50"

[[serve]]
key = "default"
config = "config.toml"

[[build]]
key = "default"
config = "config.toml"

[[collections]]
key = "posts"
title = "Posts"
folder = "content/posts/"
extension = "md"
dataformat = "toml"
itemtitle = "Post"

  [[collections.fields]]
  key = "info"
  type = "info"
  content = "# Info\nYou can write custom instructions here."

  [[collections.fields]]
  key = "title"
  title = "Title"
  type = "string"

  [[collections.fields]]
  key = "mainContent"
  title = "Content"
  type = "markdown"

  [[collections.fields]]
  key = "pubdate"
  title = "Pub Date"
  type = "date"
  default = "now"

  [[collections.fields]]
  key = "draft"
  title = "Draft"
  type = "boolean"

  [[collections.fields]]
  key = "bundle-manager"
  type = "bundle-manager"
  path = "imgs"
  extensions = [
    "png",
    "jpg",
    "gif"
  ]

    [[collections.fields.fields]]
    key = "title"
    title = "Title"
    type = "string"

    [[collections.fields.fields]]
    key = "description"
    title = "Description"
    type = "string"
    multiLine = true

[[singles]]
key = "mainConfig"
title = "Main Config"
file = "config.toml"

  [[singles.fields]]
  key = "title"
  title = "Site Title"
  type = "string"
  tip = "Your page title."

  [[singles.fields]]
  key = "baseURL"
  title = "Base URL"
  type = "string"
  tip = "Your site URL."

  [[singles.fields]]
  key = "theme"
  title = "Theme"
  type = "readonly"
  tip = "The current theme."

  [[singles.fields]]
  key = "languageCode"
  title = "Language Code"
  type = "readonly"

  [[singles.fields]]
  key = "googleAnalytics"
  title = "Google Analytics"
  type = "string"
  tip = "Provide a Google Analitics Tracking Code to enable analytics."

  [[singles.fields]]
  key = "enableRobotsTXT"
  title = "Enable Robots"
  type = "boolean"
  default = true
  tip = "If you want you page to be indexed, keep this enabled."