From d7d97da3706ff008371aca29badc59a84d69a6b1 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Thu, 24 Aug 2023 18:14:49 +0700 Subject: [PATCH] content(fix): markdown image fixes --- config/_default/params.toml | 90 ++++++++++--------- config/_default/related.toml | 44 ++++----- .../blog/2022/less-clutter-in-vscode/index.md | 2 +- .../notes-from-the-laboratory-april/index.md | 2 +- .../notes-from-the-laboratory-june/index.md | 3 +- .../index.md | 2 +- .../protected-dotfiles-with-keybase/index.md | 2 +- .../cleanup-heaps-of-node-modules/index.md | 2 +- 8 files changed, 77 insertions(+), 70 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 04ce8d739..2f27a0386 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -114,16 +114,16 @@ monetization = "" [dnb.head.speedoptimisation] control = "on" # on/off - off disables all prefetching prefetch = [ - '/assets/webfonts/jetbrainsmono/jetbrainsmonoi.ttf', - '/assets/webfonts/jetbrainsmono/jetbrainsmonoi.ttf', - '/assets/webfonts/jetbrainsmono/jetbrainsmono.ttf', - '/assets/webfonts/jetbrainsmono/jetbrainsmono.ttf', - '/assets/webfonts/bahn/bahnpro_regular-webfont.woff2', - '/assets/webfonts/bahnpro_regular-webfont.woff', - '/assets/webfonts/bahnpro_regular-webfont.ttf', - '/assets/webfonts/bahnpro_light-webfont.woff2', - '/assets/webfonts/bahnpro_light-webfont.woff', - '/assets/webfonts/bahnpro_light-webfont.ttf', + '/assets/webfonts/jetbrainsmono/jetbrainsmonoi.ttf', + '/assets/webfonts/jetbrainsmono/jetbrainsmonoi.ttf', + '/assets/webfonts/jetbrainsmono/jetbrainsmono.ttf', + '/assets/webfonts/jetbrainsmono/jetbrainsmono.ttf', + '/assets/webfonts/bahn/bahnpro_regular-webfont.woff2', + '/assets/webfonts/bahnpro_regular-webfont.woff', + '/assets/webfonts/bahnpro_regular-webfont.ttf', + '/assets/webfonts/bahnpro_light-webfont.woff2', + '/assets/webfonts/bahnpro_light-webfont.woff', + '/assets/webfonts/bahnpro_light-webfont.ttf', ] preconnect = [] prerender = [] @@ -153,14 +153,14 @@ includePaths = ["node_modules/", "assets/"] ################################################################################ [dnb.social.sharebuttons] networks = [ - "rss", - "buymeacoffee", - "substack", - "mastodon", - "linkedin", - "instagram", - "facebook", - "twitter", + "rss", + "buymeacoffee", + "substack", + "mastodon", + "linkedin", + "instagram", + "facebook", + "twitter", ] [dnb.social.network.facebook] @@ -313,6 +313,10 @@ name = "*" # https://developers.cloudflare.com/fundamentals/get-started/reference/cdn-cgi-endpoint/ disallow = ["/cdn-cgi/"] +[[dnb.robots.useragents]] +name = "GPTBot" +disallow = ["/"] + ############################################################################### # hugo-sitemap @see https://github.com/davidsneighbour/hugo-sitemap ############################################################################### @@ -349,9 +353,9 @@ sortdirection = "ASC" ############################################################################### [dnb.netlification] headers = [ - # "Access-Control-Allow-Origin: *", - "Report-To: {\"group\":\"default\",\"max_age\":31536000,\"endpoints\":[{\"url\":\"https://kollitsch.report-uri.com/a/d/g\"}],\"include_subdomains\":true}", - "NEL: {\"report_to\":\"default\",\"max_age\":31536000,\"include_subdomains\":true}", + # "Access-Control-Allow-Origin: *", + "Report-To: {\"group\":\"default\",\"max_age\":31536000,\"endpoints\":[{\"url\":\"https://kollitsch.report-uri.com/a/d/g\"}],\"include_subdomains\":true}", + "NEL: {\"report_to\":\"default\",\"max_age\":31536000,\"include_subdomains\":true}", ] upgradeInsecureRequests = true mode = "netlify" @@ -366,29 +370,29 @@ upgradeInsecureRequests = true base-uri = ["'self'"] defaultSrc = ["'none'"] script-src = [ - "'self'", - "'unsafe-eval'", - "'unsafe-inline'", - "'wasm-unsafe-eval'", - #"'strict-dynamic'", - "https://d33wubrfki0l68.cloudfront.net", - "https://giscus.app/", - 'https://unpkg.com', - "https://identity.netlify.com", - #"'nonce-dnb-components-sw'", - "static.cloudflareinsights.com", + "'self'", + "'unsafe-eval'", + "'unsafe-inline'", + "'wasm-unsafe-eval'", + #"'strict-dynamic'", + "https://d33wubrfki0l68.cloudfront.net", + "https://giscus.app/", + 'https://unpkg.com', + "https://identity.netlify.com", + #"'nonce-dnb-components-sw'", + "static.cloudflareinsights.com", ] style-src = [ - "'self'", - "'unsafe-inline'", - "https://d33wubrfki0l68.cloudfront.net", - "https://giscus.app/", + "'self'", + "'unsafe-inline'", + "https://d33wubrfki0l68.cloudfront.net", + "https://giscus.app/", ] img-src = [ - "'self'", - "https://d33wubrfki0l68.cloudfront.net", - "data:", - "https://i.ytimg.com", + "'self'", + "https://d33wubrfki0l68.cloudfront.net", + "data:", + "https://i.ytimg.com", ] font-src = ["'self'", "https://d33wubrfki0l68.cloudfront.net"] connect-src = ["'self'", "https://api.github.com/", 'cloudflareinsights.com'] @@ -396,9 +400,9 @@ media-src = ["'self'"] object-src = ["'none'"] child-src = ["'self'"] frame-src = [ - "'self'", - "https://giscus.app/", - "https://www.youtube-nocookie.com", + "'self'", + "https://giscus.app/", + "https://www.youtube-nocookie.com", ] frame-ancestors = ["'self'"] worker-src = ["'self'"] diff --git a/config/_default/related.toml b/config/_default/related.toml index 807a5b593..8decc6a67 100644 --- a/config/_default/related.toml +++ b/config/_default/related.toml @@ -3,27 +3,31 @@ includeNewer = true threshold = 5 toLower = true -[[related.indices]] -name = 'fragmentrefs' -weight = 80 -type = 'fragments' -applyFilter = false +# [[related.indices]] +# name = 'fragmentrefs' +# weight = 80 +# type = 'fragments' +# applyFilter = false -[[related.indices]] -name = 'keywords' -weight = 100 -type = 'basic' # default -cardinalityThreshold = 0 #default +# [[related.indices]] +# name = 'keywords' +# weight = 100 +# type = 'basic' # default +# cardinalityThreshold = 0 #default -[[related.indices]] -name = 'tags' -weight = 100 -type = 'basic' # default -cardinalityThreshold = 0 #default +# [[related.indices]] +# name = 'tags' +# weight = 100 +# type = 'basic' # default +# cardinalityThreshold = 0 #default + +# [[related.indices]] +# name = 'date' +# weight = 100 +# type = 'basic' # default +# cardinalityThreshold = 0 #default +# pattern = '2006' [[related.indices]] -name = 'date' -weight = 100 -type = 'basic' # default -cardinalityThreshold = 0 #default -pattern = '2006' +name = 'tags' +weight = 0 diff --git a/content/blog/2022/less-clutter-in-vscode/index.md b/content/blog/2022/less-clutter-in-vscode/index.md index 44bb8bc07..8a1df34d1 100644 --- a/content/blog/2022/less-clutter-in-vscode/index.md +++ b/content/blog/2022/less-clutter-in-vscode/index.md @@ -4,7 +4,7 @@ title: Less Clutter in Vscode description: A strategy to declutter enabled extensions in VSCode by using a workspace specific extension setup. date: 2022-07-13T17:52:34+07:00 publishDate: 2022-07-13T17:52:34+07:00 -lastmod: 2023-08-20T13:21:36+07:00 +lastmod: 2023-08-22T20:45:27+07:00 resources: - title: Photo by [Chuttersnap](https://unsplash.com/@chuttersnap) via [Unsplash](https://unsplash.com/) src: header.jpg diff --git a/content/blog/2022/notes-from-the-laboratory-april/index.md b/content/blog/2022/notes-from-the-laboratory-april/index.md index 9de2a292b..3d875e808 100644 --- a/content/blog/2022/notes-from-the-laboratory-april/index.md +++ b/content/blog/2022/notes-from-the-laboratory-april/index.md @@ -3,7 +3,7 @@ title: "Notes from the Laboratory: April 2022" linkTitle: Laboratory 2022-04 description: Another monthly report from the depths of the laboratory of kollitsch.den - April 2022 date: 2022-05-02T20:06:40+07:00 -lastmod: 2023-08-18T22:00:24+07:00 +lastmod: 2023-08-22T20:46:32+07:00 resources: - src: header.jpg title: Photo by [Todd Quackenbush](https://unsplash.com/@toddquackenbush) via [Unsplash](https://unsplash.com/) diff --git a/content/blog/2022/notes-from-the-laboratory-june/index.md b/content/blog/2022/notes-from-the-laboratory-june/index.md index acfcefaf1..0b706ef91 100644 --- a/content/blog/2022/notes-from-the-laboratory-june/index.md +++ b/content/blog/2022/notes-from-the-laboratory-june/index.md @@ -8,7 +8,6 @@ resources: name: header title: Photo by [Todd Quackenbush](https://unsplash.com/@toddquackenbush) via [Unsplash](https://unsplash.com/) - src: iallthatsleft.jpg - name: pokki categories: - notes-from-the-laboratory tags: @@ -17,7 +16,7 @@ tags: - self-improvement - davidsneighbour - 100DaysToOffload -lastmod: 2023-08-20T19:22:58+07:00 +lastmod: 2023-08-22T20:47:41+07:00 --- I am trying this new "thing" of "reporting" what I was up to in a certain time period this year, and monthly reviews just sound like something normal people would do. So bear with me while I am typing up this report. diff --git a/content/blog/2022/notes-from-the-laboratory-october/index.md b/content/blog/2022/notes-from-the-laboratory-october/index.md index e25cec258..84e583538 100644 --- a/content/blog/2022/notes-from-the-laboratory-october/index.md +++ b/content/blog/2022/notes-from-the-laboratory-october/index.md @@ -4,7 +4,7 @@ linkTitle: Laboratory 2022-10 description: Another monthly report from the depths of the laboratory of kollitsch.dev - October 2022 (and also September 2022, not that you missed it ;) date: 2022-11-01T22:01:40+07:00 publishDate: 2022-11-01T22:01:40+07:00 -lastmod: 2023-08-07T19:33:03+07:00 +lastmod: 2023-08-21T22:06:30+07:00 resources: - src: header.jpg - title: Photo by [Todd Quackenbush](https://unsplash.com/@toddquackenbush) via [Unsplash](https://unsplash.com/) diff --git a/content/blog/2022/protected-dotfiles-with-keybase/index.md b/content/blog/2022/protected-dotfiles-with-keybase/index.md index 9117f6f7f..8925a58a3 100644 --- a/content/blog/2022/protected-dotfiles-with-keybase/index.md +++ b/content/blog/2022/protected-dotfiles-with-keybase/index.md @@ -3,7 +3,7 @@ title: Protected .dotfile files with Keybase description: Adding all my secret files, keys, passwords and api strings into an encrypted repository on Keybase to add them to my dotfiles repository. date: 2022-11-06T18:29:12+07:00 publishDate: 2022-11-06T18:29:12+07:00 -lastmod: 2023-08-20T10:56:05+07:00 +lastmod: 2023-08-22T20:48:13+07:00 resources: - title: Photo by [Stefan Steinbauer](https://unsplash.com/@usinglight) via [Unsplash](https://unsplash.com/) src: header.jpg diff --git a/content/blog/2023/cleanup-heaps-of-node-modules/index.md b/content/blog/2023/cleanup-heaps-of-node-modules/index.md index a75e3d31c..142cbccd4 100644 --- a/content/blog/2023/cleanup-heaps-of-node-modules/index.md +++ b/content/blog/2023/cleanup-heaps-of-node-modules/index.md @@ -4,7 +4,7 @@ description: Discover npkill, a command-line tool to clean up space wasted by no summary: Discover npkill, a command-line tool to clean up space wasted by node_modules folders. Easy to use, fast, and minimal dependencies. date: 2023-06-21T22:10:52+07:00 publishDate: 2023-06-21T22:10:52+07:00 -lastmod: 2023-08-20T10:51:58+07:00 +lastmod: 2023-08-22T20:48:25+07:00 resources: - title: Heaps of garbage src: header.jpg