1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 05:45:31 -04:00

convert config.toml -> config.yml

This commit is contained in:
2021-11-23 12:18:01 -05:00
parent be7b2a4bba
commit 9b3ae0f62a
3 changed files with 191 additions and 175 deletions

View File

@@ -1,161 +0,0 @@
baseURL = "/"
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 = "images/logo.png" # relative to assetDir root
mainSection = "notes" # content that appears in feeds
baseURL = "https://jarv.is" # different from baseURL above, this is only used where necessary (no trailing slash!)
[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 = "images/me.jpg" # relative to assetDir root
email = "jake@jarv.is"
monetization = "$ilp.uphold.com/BJp6d2FrEB69" # Uphold ILP wallet: https://support.uphold.com/hc/en-us/articles/360043227832-How-to-find-your-ILP-address-Interledger-payment-pointer-
[author.social]
github = "jakejarvis"
keybase = "jakejarvis"
twitter = "jakejarvis"
twitterID = 229769022
medium = "jakejarvis"
linkedin = "jakejarvis"
facebook = "jakejarvis"
facebookID = 1329090853
instagram = "jakejarvis"
mastodon = "mastodon.social/@jakejarvis"
[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 = "📬"
url = "/contact/"
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
# don't use cache for SCSS compilation, better to throw error than be stale
useResourceCacheWhen = "never"

172
config.yml Normal file
View File

@@ -0,0 +1,172 @@
baseURL: /
languageCode: en-us
title: Jake Jarvis
# increase timeout for image processing (3 minutes)
timeout: 180000
canonifyURLs: true
enableRobotsTXT: true
enableInlineShortcodes: 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
pygmentsUseClasses: true
pygmentsCodeFences: true
pygmentsCodeFencesGuessSyntax: false
params:
# different from baseURL above, this is only used where absolute URLs are necessary: (no trailing slash!)
baseURL: https://jarv.is
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: images/logo.png # relative to assetDir root
mainSection: notes # content that appears in feeds
theme:
maxWidth: 865 # px
defaultTheme: light # light or dark?
license:
name: CC-BY-4.0
nameLong: Creative Commons Attribution 4.0 International
copyrightFirstYear: 2001
social:
githubRepo: jakejarvis/jarv.is # user/repo
webmentionIO: jarv.is # webmention.io username
facebookAppID: 3357248167622283
author:
name: Jake Jarvis
image: images/me.jpg # relative to assetDir root
email: jake@jarv.is
monetization: $ilp.uphold.com/BJp6d2FrEB69 # Uphold ILP wallet: https://support.uphold.com/hc/en-us/articles/360043227832-How-to-find-your-ILP-address-Interledger-payment-pointer-
social:
github: jakejarvis
keybase: jakejarvis
twitter: jakejarvis
twitterID: 229769022
medium: jakejarvis
linkedin: jakejarvis
facebook: jakejarvis
facebookID: 1329090853
instagram: jakejarvis
mastodon: mastodon.social/@jakejarvis
menu:
main:
- name: Home
pre: 🏡
url: /
weight: 1
- name: Notes
pre: 🗒
url: /notes/
weight: 2
- name: Projects
pre: 👨‍💻
url: /projects/
weight: 3
- name: Contact
pre: 📬
url: /contact/
weight: 4
frontmatter:
lastmod:
- date
- publishDate
- :default
sitemap:
filename: sitemap.xml
outputs:
home:
- html
- rss
- atom
- manifest
section:
- html
page:
- html
outputFormats:
rss:
mediaType: application/rss
baseName: feed # /feed.xml
isPlainText: false
isHTML: false
atom:
mediaType: application/atom+xml
baseName: feed # /feed.atom
isPlainText: false
isHTML: false
manifest:
mediaType: application/manifest+json # https://github.com/w3c/manifest/issues/689
baseName: site # /site.webmanifest
isPlainText: true
notAlternative: true
mediaTypes:
application/atom+xml:
suffixes:
- atom
application/manifest+json:
suffixes:
- webmanifest
markup:
defaultMarkdownHandler: goldmark
goldmark:
extensions:
linkify: false
strikethrough: true
typographer: false
parser:
autoHeadingID: false
renderer:
unsafe: true
highlight:
codeFences: true
guessSyntax: false
lineNos: true
lineNumbersInTable: true
noClasses: true
tabWidth: 4
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
build:
noJSConfigInAssets: true
# don't use cache for SCSS compilation, better to throw error than be stale
useResourceCacheWhen: never
caches:
# commit things like oEmbed JSON (tweets, etc.) next to resources in this repo
assets:
dir: :cacheDir/:project # default: :resourceDir/_gen
getcsv:
dir: :resourceDir/_gen # default: :cacheDir/:project
getjson:
dir: :resourceDir/_gen # default: :cacheDir/:project
images:
dir: :resourceDir/_gen
modules:
dir: :cacheDir/modules

View File

@@ -2476,7 +2476,7 @@ clone-stats@^1.0.0:
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
integrity sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=
clone@^2.1.1, clone@^2.1.2:
clone@^2.1.1:
version "2.1.2"
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
@@ -3365,9 +3365,9 @@ ee-first@1.1.1:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
electron-to-chromium@^1.3.896:
version "1.3.904"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.904.tgz#52a353994faeb0f2a9fab3606b4e0614d1af7b58"
integrity sha512-x5uZWXcVNYkTh4JubD7KSC1VMKz0vZwJUqVwY3ihsW0bst1BXDe494Uqbg3Y0fDGVjJqA8vEeGuvO5foyH2+qw==
version "1.3.906"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.906.tgz#144e212691e35fa8c294431e2ecb51e4b03f7577"
integrity sha512-UjoECdcOYIVzWmrbtNnYpPrDuu+RtiO5W08Vdbid9ydGQMSdnqtJUtvOqQEAVQqpoXN9kSW9YnQufvzLQMYQOw==
emoji-regex@^8.0.0:
version "8.0.0"
@@ -4489,9 +4489,9 @@ get-value@^2.0.3, get-value@^2.0.6:
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
gifsicle@^5.0.0:
version "5.2.1"
resolved "https://registry.yarnpkg.com/gifsicle/-/gifsicle-5.2.1.tgz#efadab266a493ef0b4178e34597493349937369e"
integrity sha512-9ewIQQCAnSmkU2DhuWafd1DdsgzAkKqIWnY+023xBLSiK9Az2TDUozWQW+SyRQgFMclbe6RQldUk/49TRO3Aqw==
version "5.3.0"
resolved "https://registry.yarnpkg.com/gifsicle/-/gifsicle-5.3.0.tgz#499713c6f1e89ebbc3630da3a74fdb4697913b4e"
integrity sha512-FJTpgdj1Ow/FITB7SVza5HlzXa+/lqEY0tHQazAJbuAdvyJtkH4wIdsR2K414oaTwRXHFLLF+tYbipj+OpYg+Q==
dependencies:
bin-build "^3.0.0"
bin-wrapper "^4.0.0"
@@ -6051,15 +6051,15 @@ lint-staged@^12.1.2:
yaml "^1.10.2"
listr2@^3.13.3:
version "3.13.4"
resolved "https://registry.yarnpkg.com/listr2/-/listr2-3.13.4.tgz#34101fc0184545597e00d1e7915ccfbfb17332e6"
integrity sha512-lZ1Rut1DSIRwbxQbI8qaUBfOWJ1jEYRgltIM97j6kKOCI2pHVWMyxZvkU/JKmRBWcIYgDS2PK+yDgVqm7u3crw==
version "3.13.5"
resolved "https://registry.yarnpkg.com/listr2/-/listr2-3.13.5.tgz#105a813f2eb2329c4aae27373a281d610ee4985f"
integrity sha512-3n8heFQDSk+NcwBn3CgxEibZGaRzx+pC64n3YjpMD1qguV4nWus3Al+Oo3KooqFKTQEJ1v7MmnbnyyNspgx3NA==
dependencies:
cli-truncate "^2.1.0"
clone "^2.1.2"
colorette "^2.0.16"
log-update "^4.0.0"
p-map "^4.0.0"
rfdc "^1.3.0"
rxjs "^7.4.0"
through "^2.3.8"
wrap-ansi "^7.0.0"
@@ -8364,6 +8364,11 @@ reusify@^1.0.4:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
rfdc@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
rimraf@^2.4.0, rimraf@^2.5.4:
version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
@@ -9657,9 +9662,9 @@ type-fest@^1.0.1:
integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==
type-fest@^2.0.0, type-fest@^2.5.0:
version "2.5.4"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.5.4.tgz#1613bf29a172ff1c66c29325466af9096fe505b5"
integrity sha512-zyPomVvb6u7+gJ/GPYUH6/nLDNiTtVOqXVUHtxFv5PmZQh6skgfeRtFYzWC01T5KeNWNIx5/0P111rKFLlkFvA==
version "2.6.0"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.6.0.tgz#e9f1e78c5f746ca97ccbb873c59aa16c3bf6b123"
integrity sha512-XN1FDGGtaSDA6CFsCW5iolTQqFsnJ+ZF6JqSz0SqXoh4F8GY0xqUv5RYnTilpmL+sOH8OH4FX8tf9YyAPM2LDA==
type-is@~1.6.17, type-is@~1.6.18:
version "1.6.18"