mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 14:38:30 -04:00
174 lines
4.8 KiB
TOML
174 lines
4.8 KiB
TOML
baseURL = "https://jarv.is/"
|
|
languageCode = "en-us"
|
|
title = "Jake Jarvis"
|
|
|
|
# increase timeout for image processing (3 minutes)
|
|
timeout = 180000
|
|
|
|
canonifyURLs = true
|
|
|
|
pygmentsUseClasses = true
|
|
pygmentsCodeFences = true
|
|
pygmentsCodeFencesGuessSyntax = false
|
|
|
|
enableInlineShortcodes = true
|
|
enableRobotsTXT = true
|
|
|
|
# as of v0.73.0: taxonomy => term, taxonomyTerm => taxonomy
|
|
# https://github.com/gohugoio/hugo/releases/tag/v0.73.0
|
|
disableKinds = ["taxonomy", "term"]
|
|
|
|
# don't worry, inserted manually :)
|
|
disableHugoGeneratorInject = true
|
|
|
|
# prefer 301 server redirects, see vercel.json
|
|
disableAliases = true
|
|
|
|
[params]
|
|
description = "Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in the JAMstack, modern JavaScript frameworks, and progressive web apps."
|
|
image = "img/logo.png" # relative to assetDir root
|
|
mainSection = "notes" # content that appears in feeds
|
|
[params.theme]
|
|
maxWidth = 865 # px
|
|
defaultTheme = "light" # light or dark?
|
|
[params.license]
|
|
name = "CC-BY-4.0"
|
|
nameLong = "Creative Commons Attribution 4.0 International"
|
|
copyrightFirstYear = 2001
|
|
[params.social]
|
|
githubRepo = "jakejarvis/jarv.is" # user/repo
|
|
webmentionIO = "jarv.is" # webmention.io username
|
|
facebookAppID = 3357248167622283
|
|
|
|
[author]
|
|
name = "Jake Jarvis"
|
|
image = "img/me.jpg" # relative to assetDir root
|
|
email = "jake@jarv.is"
|
|
[author.social]
|
|
github = "jakejarvis"
|
|
keybase = "jakejarvis"
|
|
twitter = "jakejarvis"
|
|
twitterID = 229769022
|
|
medium = "jakejarvis"
|
|
linkedin = "jakejarvis"
|
|
facebook = "jakejarvis"
|
|
facebookID = 1329090853
|
|
instagram = "jakejarvis"
|
|
mastodon = "mastodon.social/@jakejarvis"
|
|
|
|
[module]
|
|
# we're grabbing Twemoji SVGs from an NPM helper package:
|
|
# https://www.npmjs.com/package/twemoji-emojis
|
|
[[module.mounts]]
|
|
source = "node_modules/twemoji-emojis/vendor/svg"
|
|
target = "static/vendor/emoji/svg"
|
|
# this is required, or else the Twemoji mount completely takes over /static:
|
|
# https://discourse.gohugo.io/t/can-hugo-copy-files-from-one-dir-to-another/24085/4
|
|
[[module.mounts]]
|
|
source = "static"
|
|
target = "static"
|
|
|
|
[frontmatter]
|
|
lastmod = ["date", "publishDate", ":default"]
|
|
|
|
[menu]
|
|
[[menu.main]]
|
|
name = "Home"
|
|
pre = "🏡"
|
|
url = "/"
|
|
weight = 1
|
|
[[menu.main]]
|
|
name = "Notes"
|
|
pre = "🗒"
|
|
url = "/notes/"
|
|
weight = 2
|
|
[[menu.main]]
|
|
name = "Projects"
|
|
pre = "👨💻"
|
|
url = "/projects/"
|
|
weight = 3
|
|
[[menu.main]]
|
|
name = "Contact"
|
|
pre = "📬"
|
|
# encode my email address like it's 2005 ( ͡° ͜ʖ ͡°)
|
|
url = "mailto:jake@jarv.is"
|
|
weight = 4
|
|
|
|
[outputs]
|
|
home = ["HTML", "RSS", "ATOM", "MANIFEST"]
|
|
section = ["HTML"]
|
|
page = ["HTML"]
|
|
|
|
[outputFormats]
|
|
[outputFormats.RSS]
|
|
mediaType = "application/rss"
|
|
baseName = "feed" # /feed.xml
|
|
isPlainText = false
|
|
isHTML = false
|
|
[outputFormats.ATOM]
|
|
mediaType = "application/atom+xml"
|
|
baseName = "feed" # /feed.atom
|
|
isPlainText = false
|
|
isHTML = false
|
|
[outputFormats.MANIFEST]
|
|
mediaType = "application/manifest+json" # https://github.com/w3c/manifest/issues/689
|
|
baseName = "site" # /site.webmanifest
|
|
isPlainText = true
|
|
notAlternative = true
|
|
|
|
[mediaTypes]
|
|
[mediaTypes."application/atom+xml"]
|
|
suffixes = ["atom"]
|
|
[mediaTypes."application/manifest+json"]
|
|
suffixes = ["webmanifest"]
|
|
|
|
[sitemap]
|
|
filename = "sitemap.xml"
|
|
|
|
[imaging]
|
|
# options for resampling filters:
|
|
# https://github.com/disintegration/imaging#image-resizing
|
|
resampleFilter = "Lanczos"
|
|
# let imagemin do all the heavy lifting post-build.
|
|
# can be overridden (overrode?) inline for individual JPEGs:
|
|
# https://gohugo.io/content-management/image-processing/#jpeg-quality
|
|
quality = 100
|
|
|
|
[markup]
|
|
defaultMarkdownHandler = "goldmark"
|
|
[markup.goldmark]
|
|
[markup.goldmark.extensions]
|
|
linkify = false
|
|
strikethrough = true
|
|
typographer = false
|
|
[markup.goldmark.parser]
|
|
autoHeadingID = false
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
[markup.highlight]
|
|
codeFences = true
|
|
guessSyntax = false
|
|
lineNos = true
|
|
lineNumbersInTable = true
|
|
noClasses = true
|
|
tabWidth = 4
|
|
|
|
# commit things like oEmbed JSON (tweets, etc.) next to resources in this repo
|
|
[caches]
|
|
[caches.assets]
|
|
dir = ":cacheDir/:project" # default: :resourceDir/_gen
|
|
[caches.getcsv]
|
|
dir = ":resourceDir/_gen" # default: :cacheDir/:project
|
|
[caches.getjson]
|
|
dir = ":resourceDir/_gen" # default: :cacheDir/:project
|
|
[caches.images]
|
|
dir = ":resourceDir/_gen"
|
|
[caches.modules]
|
|
dir = ":cacheDir/modules"
|
|
|
|
[build]
|
|
noJSConfigInAssets = true
|
|
writeStats = true
|
|
# don't use cache for SCSS compilation, better to throw error than be stale
|
|
useResourceCacheWhen = "never"
|