Skip to content

Commit

Permalink
content(fix): markdown image fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Aug 24, 2023
1 parent c8125e3 commit d7d97da
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 70 deletions.
90 changes: 47 additions & 43 deletions config/_default/params.toml
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
###############################################################################
Expand Down Expand Up @@ -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"
Expand All @@ -366,39 +370,39 @@ 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']
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'"]
Expand Down
44 changes: 24 additions & 20 deletions config/_default/related.toml
Expand Up @@ -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
2 changes: 1 addition & 1 deletion content/blog/2022/less-clutter-in-vscode/index.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2022/notes-from-the-laboratory-april/index.md
Expand Up @@ -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/)
Expand Down
3 changes: 1 addition & 2 deletions content/blog/2022/notes-from-the-laboratory-june/index.md
Expand Up @@ -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:
Expand All @@ -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.
Expand Down
Expand Up @@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2022/protected-dotfiles-with-keybase/index.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2023/cleanup-heaps-of-node-modules/index.md
Expand Up @@ -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
Expand Down

0 comments on commit d7d97da

Please sign in to comment.