config.toml 2.98 KB
Newer Older
1
baseURL = "https://jarv.is/"
2
languageCode = "en-US"
3
title = "Jake Jarvis"
4

5
# increase timeout for image processing
6
timeout = 120000
7

8 9
canonifyURLs = true

Jake Jarvis's avatar
Jake Jarvis committed
10
disableFastRender = true
11 12
disableHugoGeneratorInject = true   # don't worry, inserted manually :)
disableKinds = ["taxonomy", "taxonomyTerm"]
13

Jake Jarvis's avatar
Jake Jarvis committed
14 15 16
pygmentsUseClasses = true
pygmentsCodeFences = true

17 18
enableRobotsTXT = true

19 20 21
# prefer Netlify's _redirects file, see outputs below
disableAliases = true

22 23
[author]
  name = "Jake Jarvis"
24
  jobTitle = "Front-End Web Developer"
25
  email = "jake@jarv.is"
26
  twitter = "jakejarvis"
27
  github = "jakejarvis"
Jake Jarvis's avatar
Jake Jarvis committed
28 29
  facebook = "jakejarvis"
  facebook_id = "1329090853"
30
  instagram = "jakejarvis"
31
  linkedin = "jakejarvis"
32
  mastodon = "mastodon.social/@jakejarvis"
33 34

[params]
35
  description = "Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in modern JavaScript frameworks and progressive web apps."
36
  domain = "jarv.is"
Jake Jarvis's avatar
Jake Jarvis committed
37
  facebook_app_id = "3357248167622283"
38 39 40
  gitRepo = "https://github.com/jakejarvis/jarv.is"
  wayback = "https://web.archive.org/web/20010501000000*/jakejarvis.com"
  copyrightFirstYear = "2001"
41
  defaultImage = "/me_large.jpg"
42

43
[outputs]
44
  home = ["HTML", "RSS", "MANIFEST", "REDIRECTS", "HEADERS"]
45
  section = ["HTML"]
46
  page = ["HTML", "AMP"]
47

48 49
[mediaTypes]
  [mediaTypes."text/netlify"]
50
    delimiter = ""
51 52

[outputFormats]
53 54 55
  [outputFormats.RSS]
    mediatype = "application/rss"
    baseName = "feed"
56 57 58 59 60 61
  [outputFormats.AMP]
    mediaType = "text/html"
    basename = "amp"
    path = "."
    permalinkable = true
    isHTML = true
62 63 64 65
  [outputFormats.MANIFEST]
    mediaType = "application/json"
    baseName = "manifest"
    notAlternative = true
66 67 68 69 70 71 72 73 74 75 76
  [outputFormats.REDIRECTS]
    mediatype = "text/netlify"
    baseName = "_redirects"
    isPlainText = true
    notAlternative = true
  [outputFormats.HEADERS]
    mediatype = "text/netlify"
    baseName = "_headers"
    isPlainText = true
    notAlternative = true

77
[sitemap]
78 79
  filename = "sitemap.xml"

80 81 82 83
[imaging]
  # options for resampling filters:
  # https://github.com/disintegration/imaging#image-resizing
  resampleFilter = "Linear"
84
  quality = 75
85

86 87 88 89 90 91
[markup]
  defaultMarkdownHandler = "goldmark"
  [markup.goldmark]
    [markup.goldmark.extensions]
      linkify = true
      strikethrough = true
92
      typographer = false
93 94 95 96 97 98
    [markup.goldmark.parser]
      autoHeadingID = false
    [markup.goldmark.renderer]
      unsafe = true
  [markup.highlight]
    codeFences = true
99 100
    lineNos = true
    lineNumbersInTable = true
101 102
    noClasses = true
    tabWidth = 4
103

104 105 106 107 108
[privacy]
  [privacy.twitter]
    enableDNT = true
  [privacy.youtube]
    privacyEnhanced = true
109 110

# TODO: find better way than double-mounting content as weird hack to allow
111 112
# access to image resources from templates.
# https://gohugo.io/hugo-modules/configuration/#module-config-mounts
113 114 115 116 117 118 119 120 121 122
[module]
  [[module.mounts]]
    source = "content"
    target = "assets/content"
  [[module.mounts]]
    source = "assets"
    target = "assets"
  [[module.mounts]]
    source = "content"
    target = "content"