Commit graph

172 commits

Author SHA1 Message Date
77afe05a08
Replace deprecated -v with --logLevel 2023-12-10 01:15:28 +01:00
fc46cd3bb9
Fix whitespace formatting on 404 page 2023-12-10 01:15:06 +01:00
8d6976467a
Update mermaid shortcode 2023-12-10 01:09:25 +01:00
4c212e8f64
Add footnotes support 2023-12-10 01:08:09 +01:00
1051f84462
Add site description meta tag 2023-12-10 01:06:39 +01:00
2c65ecc4b4
Rewrite software-licensing & publish pending posts 2023-12-10 01:05:11 +01:00
7f89d1586a
Fix typo in great commits article 2023-10-11 12:20:11 +02:00
9af2a0e56f
Update index page photo 2023-06-09 23:29:59 +02:00
52fdfc5c2a
Add post about making great commits 2023-04-17 15:38:01 +02:00
43615f816c
Update git credentials post 2023-01-30 14:36:12 +01:00
4b10aff9d0
Mention usage with docker 2022-11-20 18:18:24 +00:00
8f0c6f32c3
Add missing semicolon 2022-11-20 16:46:25 +01:00
9883950f3d
Fix nginx user 2022-11-20 16:44:36 +01:00
0233475d00
Automatically build a docker image to ghcr.io 2022-11-20 16:38:57 +01:00
d68f4e0555
Add post about managing git credentials 2022-07-27 10:30:26 +02:00
73290d2321
Actually add JetBrainsMono fonts 2022-07-25 12:50:05 +02:00
a8c8b5bc4f
Use navigator.clipboard instead of deprecated document.execCommand('copy') 2022-07-25 01:06:13 +02:00
eb0b427a79
Use custom notice style in favor of hugo-notice 2022-07-24 01:51:08 +02:00
6c2a21f37b
Improve robots.txt 2022-06-01 20:04:23 +02:00
55ea1f48f5
Use .Inner instead of .Get 'text' in span shortcode 2022-05-23 18:55:01 +02:00
d3f9af4560
Add shortcode for mermaid diagrams 2022-05-23 18:54:27 +02:00
2eec248847
Add iframe shortcode 2022-05-23 18:54:15 +02:00
900219b281
Use classes instead of ids for changelog and sources 2022-05-23 18:36:52 +02:00
0ae71e3794
Use tab size of 4 in content-info 2022-05-23 18:35:18 +02:00
a054677e7d
Add 451 error page 2022-05-23 18:33:00 +02:00
c7e49b99f2
Remove youtube shortcode in favor of hugo's built-in 2022-05-23 18:32:07 +02:00
862d4e0489
Ignore personal cheatsheet post 2022-05-23 18:31:15 +02:00
aff352e513
Group inner content of pages under <article> 2022-05-23 18:28:20 +02:00
c88e5ed28b
Fix heading margins in content info 2022-05-23 18:24:35 +02:00
70d3e26b86
Move sources and changelog to it's own partial 2022-05-23 18:24:15 +02:00
0a6245431a
Add styling to sources section 2022-05-23 18:12:34 +02:00
8a4a518487
Add option to add changelog 2022-05-23 18:12:15 +02:00
60e87eddfe
Change py to python for fenced codeblocks lang 2022-05-15 13:15:56 +02:00
ead56cf020
Remove dead code 2022-05-15 13:13:08 +02:00
5807d180f3
Add cusom styled span shortcode 2022-05-15 13:12:03 +02:00
c02b9e6498
Don't globally override table style, use shortcode 2022-05-15 13:11:03 +02:00
35d891b9b3
Set width to 100 for hugo's highlight blocks 2022-05-15 12:10:45 +02:00
1ebb615e52
Split scss variables into separate file 2022-05-15 11:17:11 +02:00
f36d169b10
Use same color of inline code as codeblocks 2022-05-15 10:24:03 +02:00
902154cb92
Move bootstrap import 2022-05-15 10:23:43 +02:00
e7dfbcdf5a
Re-add shebang 2022-05-15 02:53:47 +02:00
d2bad667ad
Properly group SCSS variables 2022-05-15 02:51:52 +02:00
5eb299a769
Separate fonts SCSS into it's own file 2022-05-15 02:51:52 +02:00
6a2a77ac48
Overhaul codeblock style 2022-05-15 02:51:45 +02:00
cd306cd6c6
Fix scripts 2022-05-15 00:28:12 +02:00
d1aff0ec53
Use Inter fonts 2022-05-15 00:21:18 +02:00
5c076900b9
Split scss into multiple files 2022-05-15 00:16:35 +02:00
7f84716ce8
Fix content template 2022-05-14 23:11:39 +02:00
b444f03185
Don't use scratchpad to pass values into partials
We previously used .Scratch which is a global scratchpad, that was later
passed over to the partial with the rest of the context. The partial
then checked if this value was set, and had a fallback if it wasn't
(default value).

This approach does work in most of the cases, however in about 5% of
runs, it fails. I assume this is due to hugo spinning up multiple
threads, and each of them is changing this global scratchpad in
arbitrary order. At some point, a thread then removed this value from
the scratchpad to reset it, but another thread already checked that this
variable does exist, and has now set the no longer available variable.

To avoid this, we can instead directly pass a custom dict, which
contains the original context (.) along with another variable, which
will hold the dateformat. This however means that we can't use the
simple syntax with a default value, and the dateformat will need to be
set each time (though technically, it could be set to nil and checked
later, but if we're already specifying it, we may as well pass in this
dateformat directly)
2022-05-14 22:26:04 +02:00
955d6cb0cb
Improve readme 2022-05-14 20:35:07 +02:00