Skip to content

Commit

Permalink
Merge pull request #118 from henriksommerfeld/remove-time
Browse files Browse the repository at this point in the history
Remove time from date frontmatter
  • Loading branch information
henriksommerfeld authored Nov 17, 2024
2 parents 87f6e46 + 92d22de commit 3a7e210
Show file tree
Hide file tree
Showing 56 changed files with 82 additions and 82 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Switching from WordPress to Hugo"
url: "switching-from-wordpress-to-hugo"
date: 2017-08-07T21:25:57+02:00
date: 2017-08-07
categories: ["Coding"]
tags: ["Hugo","WordPress"]
draft: false
Expand Down Expand Up @@ -47,4 +47,4 @@ In summary I find this setup more enjoyable and more appropriate for my needs wi
[5]: https://gohugo.io/tools/search/
[6]: https://www.algolia.com/
[7]: https://lunrjs.com/
[8]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/
[8]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Switching from CrashPlan and other Backup Services"
url: "switching-from-crashplan-and-other-backup-services"
date: 2017-08-26T14:53:58+02:00
date: 2017-08-26
categories: ["Thoughts"]
tags: ["Backup","CrashPlan","OneDrive"]
draft: false
Expand Down Expand Up @@ -34,4 +34,4 @@ _**Update 2017-08-27:** Having uploaded an additional 278 GB to OneDrive through
[1]: https://www.crashplan.com/en-us/consumer/nextsteps/
[2]: /micro-stuttering-caused-by-crashplan/
[3]: https://www.cloudwards.net/award/best-online-backup-services/
[4]: https://www.hanselman.com/blog/TheComputerBackupRuleOfThree.aspx
[4]: https://www.hanselman.com/blog/TheComputerBackupRuleOfThree.aspx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Build Steps Using NPM Scripts for My Hugo Blog"
url: "build-steps-using-npm-scripts-for-my-hugo-blog"
date: 2017-09-17T17:15:54+02:00
date: 2017-09-17
draft: false
categories: ["Coding"]
tags: ["Hugo","NodeJS", "JavaScript", "CSS"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Replacing Web Compiler With Node Sass"
url: "replacing-webcompiler-with-node-sass"
date: 2017-10-30T05:48:41+01:00
date: 2017-10-30
categories: ["Coding"]
tags: ["NodeJS", "CSS", "JavaScript"]
---
Expand Down Expand Up @@ -151,4 +151,4 @@ files.forEach((file) => {

{{</code>}}

[1]: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler
[1]: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Code Sharing with Multi-App Angular Project Using Base Components"
url: "code-sharing-with-multi-app-angular-project-using-base-components"
date: 2017-11-18T11:51:22+01:00
date: 2017-11-18
categories: ["Coding"]
tags: ["Angular", "TypeScript", "Unit testing"]
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Using Angular HTTP Interceptor for Logging"
url: "using-angular-http-interceptor-for-logging"
date: 2018-02-09T11:35:22+01:00
date: 2018-02-09
categories: ["Coding"]
tags: ["Angular", "TypeScript"]
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Create Fake Backend with Node Express"
url: "create-fake-backend-with-node-express"
date: 2018-03-04T18:16:00+01:00
date: 2018-03-04
categories: ["Coding"]
tags: ["NodeJS", "JavaScript"]
---
Expand Down Expand Up @@ -98,4 +98,4 @@ As you can see above, I've set the fake backend to listen on port 54321 and to a
}
{{</code>}}

[1]: /using-angular-http-interceptor-for-logging/
[1]: /using-angular-http-interceptor-for-logging/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Integrated Terminal Shortcut in VS Code Opens External Terminal"
url: "integrated-terminal-shortcut-in-vscode-opens-external-terminal"
date: 2018-06-24T05:46:00+01:00
date: 2018-06-24
categories: ["Tools"]
tags: ["ConEmu", "Cmder", "VS Code"]
---
Expand All @@ -28,4 +28,4 @@ ConEmu keyboard shortcut settings without conflicting configuration

[1]: https://github.com/JanDeDobbeleer/oh-my-posh/
[2]: https://conemu.github.io/
[3]: https://medium.com/@nuno.caneco/cmder-quake-style-e57601d1c07b/
[3]: https://medium.com/@nuno.caneco/cmder-quake-style-e57601d1c07b/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Getting a Divorce From SharePoint 💔"
date: 2018-06-29T23:18:39+02:00
date: 2018-06-29
url: "getting-a-divorce-from-sharepoint"
draft: false
categories: ["Thoughts"]
Expand Down Expand Up @@ -75,4 +75,4 @@ After my summer vacation I will join [Academic Work][11] as a team manager for a
[8]: https://docs.microsoft.com/en-gb/sharepoint/dev/general-development/how-to-convert-an-html-file-into-a-master-page-in-sharepoint
[9]: https://docs.microsoft.com/en-gb/sharepoint/search/understanding-how-item-display-templates-and-hit-highlighting-work
[10]: https://webpack.js.org/concepts/hot-module-replacement/
[11]: https://www.academicwork.com/
[11]: https://www.academicwork.com/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Firmware Update Notifications for My Asus Router"
date: 2018-07-31T11:14:58+02:00
date: 2018-07-31
url: "firmware-update-notifications-for-my-asus-router"
categories: ["Tools"]
tags: ["Networking", "Scripting"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "There Are Only Temporary Solutions"
date: 2018-09-06T20:14:58+02:00
date: 2018-09-06
url: "there-are-only-temporary-solutions"
categories: ["Thoughts"]
tags: []
Expand Down Expand Up @@ -29,4 +29,4 @@ Next time a colleague talks about a _temporary solution_, I will be better prepa


[1]: https://whatis.techtarget.com/definition/fail-fast
[2]: https://hackernoon.com/there-are-3-main-types-of-technical-debt-heres-how-to-manage-them-4a3328a4c50c
[2]: https://hackernoon.com/there-are-3-main-types-of-technical-debt-heres-how-to-manage-them-4a3328a4c50c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Git wasn't that Complicated"
date: 2019-01-10T19:52:58+01:00
date: 2019-01-10
url: "git-wasnt-that-complicated"
categories: ["Thoughts"]
tags: []
Expand Down Expand Up @@ -32,4 +32,4 @@ To get this decent console experience on Windows I've used [oh-my-posh][4].
[2]: https://stackoverflow.com/questions/31889079/what-exactly-is-tfvc-team-foundation-version-control
[3]: https://github.com/henriksommerfeld/blog-hugo
[4]: https://github.com/JanDeDobbeleer/oh-my-posh
[5]: https://dev.to/onmyway133/useful-git-commands-for-everyday-use-552p
[5]: https://dev.to/onmyway133/useful-git-commands-for-everyday-use-552p
4 changes: 2 additions & 2 deletions content/article/2019-03-19-error-handling-with-fetch/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Error Handling with Fetch (and custom React hook)"
date: 2019-03-19T21:35:58+01:00
date: 2019-03-19
url: "error-handling-with-fetch"
categories: ["Coding"]
tags: [JavaScript, ReactJS]
Expand Down Expand Up @@ -118,4 +118,4 @@ export default function Jobs() {
</div>
);
}
{{</code>}}
{{</code>}}
4 changes: 2 additions & 2 deletions content/article/2019-06-09-z-index/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Refactoring z-index"
date: 2019-06-09T20:41:10+02:00
date: 2019-06-09
url: "refactoring-z-index"
categories: ["Coding"]
tags: [CSS]
Expand Down Expand Up @@ -57,4 +57,4 @@ export const zIndexes = {
{{</code>}}

[1]: https://www.styled-components.com/
[2]: https://sass-lang.com/
[2]: https://sass-lang.com/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Netlify CMS - Incorrectly eaten value"
date: 2019-09-10T07:36:10+02:00
date: 2019-09-10
url: "netlify-cms-incorrectly-eaten-value"
categories: ["Coding"]
tags: [Netlify CMS]
Expand All @@ -17,7 +17,7 @@ I'm migrating my wife's blog from WordPress to GatsbyJS and since she's not comf
Netlify CMS crashes when the frontmatter is followed by a newline and an image. The CMS itself doesn't add this newline, but Prettier for VS Code does. I've been manually updating a `url` property when migrating old posts to keep the same URL, and doing that in VS Code inserts this "error" (perfectly valid markdown).

```
date: 2011-09-11T07:26:42.164Z
date: 2011-09-11
---
<==== Here
![](/uploads/lrvlsi6ilp1r22t2co1_400.jpg "Some title")
Expand All @@ -30,7 +30,7 @@ There is [an issue registered at GitHub][1], but it seems to wait for [some larg
Remove the newline with an editor that doesn't add it back on save.

```
date: 2011-09-11T07:26:42.164Z
date: 2011-09-11
---
![](/uploads/lrvlsi6ilp1r22t2co1_400.jpg "Some title")
```
Expand Down
2 changes: 1 addition & 1 deletion content/article/2019-10-18-pwa-bad-for-blog/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Progressive Web App - Bad Idea for a Blog"
date: 2019-10-18T12:19:10+02:00
date: 2019-10-18
url: "pwa-bad-for-blog"
categories: ["Coding"]
tags: [Progressive Web App, GatsbyJS]
Expand Down
4 changes: 2 additions & 2 deletions content/article/2019-10-30-gatsby-twitter/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Gatsby Source Plugin for Twitter"
date: 2019-10-31T00:20:10+01:00
date: 2019-10-31
url: "gatsby-source-plugin-for-twitter"
categories: ["Coding"]
tags: [GatsbyJS, JavaScript, TypeScript, NodeJS, ReactJS]
Expand Down Expand Up @@ -116,4 +116,4 @@ _Core of plugin's `gatsby-node.js`_
[8]: https://www.gatsbyjs.org/docs/creating-a-local-plugin/
[9]: https://github.com/henriksommerfeld/isabel-blog/tree/master/plugins/gatsby-source-twitter-unfurl
[10]: https://github.com/jacktuck/unfurl
[11]: https://www.gatsbyjs.org/docs/using-gatsby-image/
[11]: https://www.gatsbyjs.org/docs/using-gatsby-image/
2 changes: 1 addition & 1 deletion content/article/2019-11-15-dark-mode/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Dark Mode Learnings 🌙"
date: 2019-11-15T14:14:10+01:00
date: 2019-11-15
url: "dark-mode-learnings"
categories: ["Coding"]
tags: [Dark mode, CSS]
Expand Down
4 changes: 2 additions & 2 deletions content/article/2019-11-17-netlify-cms/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Netlify CMS with Gatsby - Best Option with Some Quirks"
date: 2019-11-22T00:02:10+01:00
date: 2019-11-22
url: "netlify-cms"
categories: ["Coding"]
tags: [Netlify CMS, GatsbyJS, ReactJS]
Expand Down Expand Up @@ -105,4 +105,4 @@ Finally, I have to say that I love the kind of services (primarily from Netlify,
[11]: https://www.slatejs.org/#/rich-text
[12]: https://github.com/netlify/netlify-cms/issues/2402
[13]: https://github.com/cypress-io/cypress/issues/136
[14]: https://www.gatsbyjs.org/
[14]: https://www.gatsbyjs.org/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "I ❤️ My \"New\" 2013 MacBook Pro"
date: 2019-11-28T21:29:10+01:00
date: 2019-11-28
url: "i-love-my-new-2013-macbook-pro"
categories: ["Tools"]
tags: [macOS, Hardware]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Hugo Timeout Not a Circular Loop in Shortcode"
date: 2019-11-30T18:19:09+01:00
date: 2019-11-30
summary: "I have been getting a few random build errors with Hugo on Netlify recently. This is a bit strange, since it builds fine on my local machine and with Github Actions. Re-running the same build also worked a few times. The build log on Netlify says the following..."
description: Hugo build timeout was not acircular loop in a shortcode, like the error message suggested.
tags: [Hugo]
Expand Down Expand Up @@ -31,4 +31,4 @@ timeout = 60000
**_Update_**: I mention that this was caused by [adding image processing][2], but when you do that you should commit the generated images files to source control, according to [Hugo’s documentation for image processing][1]. I hadn't done that, and that's why the builds were suddenly taking a lot longer than before.

[1]: https://gohugo.io/content-management/image-processing/
[2]: /lazy-loading-images-in-hugo/
[2]: /lazy-loading-images-in-hugo/
4 changes: 2 additions & 2 deletions content/article/2019-12-05-gatsby-vs-hugo/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Gatsby vs Hugo for a Personal Blog"
date: 2019-12-05T22:20:34+01:00
date: 2019-12-05
url: gatsby-vs-hugo-for-personal-blog
summary: "Having built two personal websites/blogs that are fairly similar, one using Gatsby and one using Hugo, I’ll take a moment to compare my experiences. All CSS is written from scratch for both sites, no framework. They both have categories and tags that you can use to find related posts. No server-side API is used, so once the build is done, everything is static. Well, I use Google Analytics and Disqus on both sites, but those are third-party API's that I don't have to manage."
description: "Having built two personal websites/blogs that are fairly similar, one using Gatsby and one using Hugo, I'll take a moment to compare my experiences."
Expand Down Expand Up @@ -70,4 +70,4 @@ I will use Gatsby when I know I will use a fair amount of JavaScript on the site
[6]: https://www.urbandictionary.com/define.php?term=above%20the%20scroll
[7]: https://golang.org/
[8]: https://reactjs.org/
[9]: https://stackoverflow.com/questions/20435653/what-is-vanillajs
[9]: https://stackoverflow.com/questions/20435653/what-is-vanillajs
4 changes: 2 additions & 2 deletions content/article/2020-01-21-soundbar-vs-pihole/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Yamaha YAS-109 Soundbar has Excessive Network Traffic"
url: yamaha-yas-109-soundbar-has-excessive-network-traffic
date: 2020-01-21T11:30:09+01:00
date: 2020-01-21
summary: This is an appeal to any of you who is coding for, or otherwise developing connected devices, to put some extra thought into your network traffic. Maybe also a warning to consumers and an encouragement to us tech savvy people to monitor your connected devices.
description: This is an appeal to any of you who is coding for, or otherwise developing connected devices, to put some extra thought into your network traffic. Maybe also a warning to consumers and an encouragement to us tech savvy people to monitor your connected devices.
tags: [Internet of Things, Hardware]
Expand Down Expand Up @@ -49,4 +49,4 @@ So, if your company produces similar consumer electronics and especially if you'
[3]: https://en.wikipedia.org/wiki/Network_Time_Protocol
[4]: https://www.spotify.com/uk/connect/
[5]: https://en.wikipedia.org/wiki/Amazon_Alexa
[6]: https://twitter.com/internetofshit
[6]: https://twitter.com/internetofshit
2 changes: 1 addition & 1 deletion content/article/2020-01-29-yarn-resolutions/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Yarn Resolutions to Fix Build Error With Multiple Versions of NPM Package"
url:
date: 2020-01-29T11:30:09+01:00
date: 2020-01-29
summary: So, I upgraded Cypress from 3.7.0 to 3.8.2 and ran everything locally - no problems. But the build failed both in GitHub Actions and Netlify. I now had two conflicting versions. When using Yarn, this can be solved with Selective dependency resolutions, by adding the following to package.json
description: Shows that "resolutions" in package.json with Yarn can solve build errors with multiple versions of npm packages.
tags: [NodeJS]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Lazy Loading Images in Hugo
url: /lazy-loading-images-in-hugo
date: 2020-02-05T04:42:21+01:00
date: 2020-02-05
summary: When writing another post, I realised that I hadn't documented/described my image lazy loading implementation in Hugo anywhere, so here it comes. The first thing we need are responsive images, not the thing you get when setting the width to 100% in CSS, but different versions of the same image in different resolutions so that the web browser can pick the best one (using srcset).
description: In this post I explain my implementation of lazy loading images on my Hugo website.
tags: [Hugo]
Expand Down Expand Up @@ -152,4 +152,4 @@ In [Hugo's documentation for image processing][1] it's clearly stated that it's
[4]: https://en.wikipedia.org/wiki/Lazy_loading
[5]: https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/
[6]: https://gohugo.io/content-management/page-resources/
[7]: https://gohugo.io/content-management/shortcodes/
[7]: https://gohugo.io/content-management/shortcodes/
2 changes: 1 addition & 1 deletion content/article/2020-02-12-parental-leave-boredom/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How I Tackled Parental Leave Boredom With Code
url: /how-i-tackled-parental-leave-boredom-with-code
date: 2020-02-12T04:42:21+01:00
date: 2020-02-12
summary: Approaching the end of my parental leave, I'll take a moment reflecting on how I tackled the occasional boredom of a longer absence from work.
description: Approaching the end of my parental leave, I'll take a moment reflecting on how I tackled the occasional boredom of a longer absence from work.
tags: []
Expand Down
2 changes: 1 addition & 1 deletion content/article/2020-02-26-mac-setup/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Settings for new MacBook Pro
url: /settings-for-new-macbook-pro
date: 2020-02-26T10:22:21+01:00
date: 2020-02-26
summary: I recently bought a new machine, a MacBook Pro 16", and this is my initial configuration. I'm documenting this for my future self so I have something to cherry-pick from if I will ever configure a new Mac from scratch. Some of these things might not be relevant in future versions of macOS or for future versions of myself, so I don't see a point in automating it.
description: I recently bought a new machine, a MacBook Pro 16", and this is my initial configuration.
tags: [macOS, Hardware]
Expand Down
4 changes: 2 additions & 2 deletions content/article/2020-03-09-tests-for-legacy/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Code Quality and Automated Tests for Legacy Systems
url: /code-quality-and-automated-tests-for-legacy-systems
date: 2020-03-09T14:22:21+01:00
date: 2020-03-09
summary: My team recently had a discussion trying to agree on a few rules of thumb for our ambition level regarding code quality and automated tests for our legacy systems. These systems are business-critical, but planned to be replaced in a Big Bang fashion.
description: My team recently had a discussion trying to agree on a few rules of thumb for our ambition level regarding code quality and automated tests for our legacy systems. These systems are business-critical, but planned to be replaced in a Big Bang fashion.
tags: [Testing, Code Quality]
Expand Down Expand Up @@ -46,4 +46,4 @@ An example of this is UI tests that can catch many possible errors in relation t
## Conclusion 🤷‍♂️
Is this just common sense or too vague to be useful? Maybe it's vague, but given the diversity of the systems we're talking about here, we couldn't find a way to make it more concrete without making it system specific. Doesn't this apply to all systems? Well, sort of. I think the only relevant difference is the amount of time we're willing to spend on improving existing code – and that amount of time is more of a gut feeling than a discrete number. But in any case, I think it's good we had the discussion and hopefully we can waste less time trying to improve code that will die fairly soon anyway.

[1]: https://en.wikipedia.org/wiki/Pure_function
[1]: https://en.wikipedia.org/wiki/Pure_function
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: MacOS Alternative to Notepad++
url: /macos-alternative-to-notepad-plus-plus
date: 2020-03-23T06:22:21+01:00
date: 2020-03-23
summary: Having switched from Windows to Mac quite recently, there is one application in particular that I’m missing – Notepad++. After trying Notes and Stickes, Brackets and a bunch of others, I had to rethink what I was actually using Notepad++ for and which characteristics I was appreciating the most.
description: Having switched from Windows to Mac quite recently, there is one application in particular that I’m missing – Notepad++. Standard Notes became my choice.
tags: [macOS, Text editor, Notepad++]
Expand Down Expand Up @@ -48,4 +48,4 @@ Any suggestions that _you_ like is welcome, please comment.
[5]: https://neo4j.com/developer/cypher-query-language/
[6]: https://standardnotes.org/
[7]: https://products.office.com/en-gb/onenote/digital-note-taking-app
[8]: https://code.visualstudio.com/
[8]: https://code.visualstudio.com/
Loading

0 comments on commit 3a7e210

Please sign in to comment.