default_language = "en-GB"
base_url = "https://alanpearce.eu"

title = "Alan Pearce"
description = "Developer, Emacs User"

email = "alan@alanpearce.eu"
domain_start_date = "2014-06-07"
original_domain = "alanpearce.eu"
redirect_other_hostnames = true


oidc_host = "https://id.alanpearce.eu/"

[[taxonomies]]
name = "tags"
feed = true


[content-security-policy]
default-src = [
  "'none'",
]
form-action = [
  "'none'",
]
base-uri = [
  "'none'",
]
image-src = [
  "'self'",
  "https://gc.zgo.at",
]
script-src = [
  "'self'",
  "https://gc.zgo.at",
]
style-src = [
  ## index.html style
  "'sha256-dCSzNS1o8vygl80V2G2nPTiSOUNvyDnW+06hHS4ZdHQ='",
  ## atom.xml style
  "'sha256-CFhPA4p8skr5MyhReF+Tk2GzmYzXdECg8zm+o7EOVPI=",
  ## cv style
  "'sha256-FzrPQ6x2ugtwEN5peA8OqpIvrV3uXqkpfUMHG8P2uT0='",
]
frame-ancestors = [
  "https://kagi.com",
]
connect-src = [
  "https://alanpearce-eu.goatcounter.com/count",
]
require-trusted-types-for = [
  "'script'",
]

[extra.headers]
cache-control = "max-age=14400"
x-content-type-options = "nosniff"
referrer-policy = "strict-origin-when-cross-origin"

[[menus.main]]
    name = "Home"
    url = "/"
[[menus.main]]
    name = "Posts"
    url = "/post/"
[[menus.main]]
    name = "Feed"
    url = "/atom.xml"
[[menus.main]]
    name = "Tags"
    url = "/tags/"
[[menus.main]]
    name = "Repositories"
    url = "https://git.alanpearce.eu"

[[menus.me]]
  name = "Codeberg"
  url = "https://codeberg.org/alanpearce"
[[menus.me]]
  name = "GitLab"
  url = "https://gitlab.com/alanpearce/"
[[menus.me]]
  name = "Codeberg"
  url = "https://codeberg.org/alanpearce"
[[menus.me]]
  name = "GitHub"
  url = "https://github.com/alanpearce/"
[[menus.me]]
  name = "Mastodon"
  url = "https://ieji.de/@alanpearce"