Commit graph

186 commits

Author SHA1 Message Date
ItsDrike 35d891b9b3
Set width to 100 for hugo's highlight blocks 2022-05-15 12:10:45 +02:00
ItsDrike 1ebb615e52
Split scss variables into separate file 2022-05-15 11:17:11 +02:00
ItsDrike f36d169b10
Use same color of inline code as codeblocks 2022-05-15 10:24:03 +02:00
ItsDrike 902154cb92
Move bootstrap import 2022-05-15 10:23:43 +02:00
ItsDrike e7dfbcdf5a
Re-add shebang 2022-05-15 02:53:47 +02:00
ItsDrike d2bad667ad
Properly group SCSS variables 2022-05-15 02:51:52 +02:00
ItsDrike 5eb299a769
Separate fonts SCSS into it's own file 2022-05-15 02:51:52 +02:00
ItsDrike 6a2a77ac48
Overhaul codeblock style 2022-05-15 02:51:45 +02:00
ItsDrike cd306cd6c6
Fix scripts 2022-05-15 00:28:12 +02:00
ItsDrike d1aff0ec53
Use Inter fonts 2022-05-15 00:21:18 +02:00
ItsDrike 5c076900b9
Split scss into multiple files 2022-05-15 00:16:35 +02:00
ItsDrike 7f84716ce8
Fix content template 2022-05-14 23:11:39 +02:00
ItsDrike 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
ItsDrike 955d6cb0cb
Improve readme 2022-05-14 20:35:07 +02:00
ItsDrike 7fc9d978dd
Add copy button to all codeblocks 2022-05-14 20:27:10 +02:00
ItsDrike f89455e6fd
Update build script 2022-05-11 17:29:57 +02:00
ItsDrike 5b08a38d52
Add hugo-notice theme for notice shortcodes 2022-05-11 17:29:10 +02:00
ItsDrike 5ca7ce8d84
Improve wording in contact page 2022-05-11 16:24:12 +02:00
ItsDrike 078fd559af
Use lighter color for the year 2022-05-11 16:21:57 +02:00
ItsDrike dc7e77a28b
Add some variation of the accent orange color 2022-05-11 16:21:32 +02:00
ItsDrike 32c391f183
Rename item-link to item-name 2022-05-11 15:36:35 +02:00
ItsDrike 007ef91d3b
Add vertical line next to year 2022-05-11 15:28:34 +02:00
ItsDrike 323d319362
Improve TODO comment 2022-05-11 14:38:42 +02:00
ItsDrike f3419a37b1
Redesign list layout 2022-05-11 14:38:42 +02:00
ItsDrike 75a45a192b
Format HTML everywhere 2022-05-11 14:38:20 +02:00
ItsDrike 8955235db0
Add 404 (Fool of a took!) page 2022-04-18 11:05:36 +02:00
ItsDrike 3d3e0b0d23
Make the message variable in gandalf_forbid layout 2022-04-18 11:04:51 +02:00
ItsDrike 0283cec940
Add render-image md render hook 2022-04-18 10:51:44 +02:00
ItsDrike 1057d90287
Fix typo and formatting in gnupg article 2022-04-12 21:41:21 +02:00
ItsDrike ac40624c65
Fix -r meaning in gnupg post 2022-04-12 19:20:42 +02:00
ItsDrike 61b1cffd15
Show revision date if added 2022-04-12 12:35:34 +02:00
ItsDrike d405c24b4c
Add used sources for GnuPG post 2022-04-12 11:28:34 +02:00
ItsDrike c1b1f017a9
Add comment 2022-04-12 11:25:28 +02:00
ItsDrike 319c9b0da3
Make it possible to easily add sources 2022-04-12 11:25:06 +02:00
ItsDrike cb9b6b7a7a
Fix typo in command 2022-04-10 14:55:42 +02:00
ItsDrike e293fb9aa0
Add GnuPG post 2022-04-10 13:46:50 +02:00
ItsDrike 27d31ce605
Add link to privacy policy to footer 2022-04-08 20:29:00 +02:00
ItsDrike 04b6efc535
Add privacy policy page 2022-04-08 20:29:00 +02:00
ItsDrike d681db98d5
Don't show error/ in navbar 2022-04-08 20:29:00 +02:00
ItsDrike 26041fa0bd
Also render forbid page for 401,405,407,410,429 2022-04-08 20:29:00 +02:00
ItsDrike 32ef4d2084
Add 403 page (it has gandalf!) 2022-04-08 20:29:00 +02:00
ItsDrike 2052ca892f
Add head_extra block
- Sometiems it's nice to be able to extend the head, for cases like
  adding stylesheets, etc.
2022-04-08 20:29:00 +02:00
ItsDrike 3864c455a5
Remove discord server from contact page 2022-02-27 14:58:23 +01:00
ItsDrike 6389be559f
Use bash explicitly, not any system sh 2022-02-08 19:08:53 +00:00
ItsDrike 7e3a2bc954
Ignore hugo build lockfile 2022-02-08 20:04:59 +01:00
ItsDrike ba004aa98b
Keep shebang at the top 2022-02-08 20:04:21 +01:00
ItsDrike ce49bfdf86
Add support for easy hosting custom personal files 2022-02-08 20:04:02 +01:00
ItsDrike 77641feecc
Fix syntactical mistakes 2022-01-24 02:15:20 +01:00
ItsDrike b213a68787
Add post about software licenses 2022-01-24 00:50:21 +01:00
ItsDrike 9083668838
Rewrite the variance of generics article 2022-01-08 23:59:51 +01:00