Commit graph

141 commits

Author SHA1 Message Date
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
7fc9d978dd
Add copy button to all codeblocks 2022-05-14 20:27:10 +02:00
f89455e6fd
Update build script 2022-05-11 17:29:57 +02:00
5b08a38d52
Add hugo-notice theme for notice shortcodes 2022-05-11 17:29:10 +02:00
5ca7ce8d84
Improve wording in contact page 2022-05-11 16:24:12 +02:00
078fd559af
Use lighter color for the year 2022-05-11 16:21:57 +02:00
dc7e77a28b
Add some variation of the accent orange color 2022-05-11 16:21:32 +02:00
32c391f183
Rename item-link to item-name 2022-05-11 15:36:35 +02:00
007ef91d3b
Add vertical line next to year 2022-05-11 15:28:34 +02:00
323d319362
Improve TODO comment 2022-05-11 14:38:42 +02:00
f3419a37b1
Redesign list layout 2022-05-11 14:38:42 +02:00
75a45a192b
Format HTML everywhere 2022-05-11 14:38:20 +02:00
8955235db0
Add 404 (Fool of a took!) page 2022-04-18 11:05:36 +02:00
3d3e0b0d23
Make the message variable in gandalf_forbid layout 2022-04-18 11:04:51 +02:00
0283cec940
Add render-image md render hook 2022-04-18 10:51:44 +02:00
1057d90287
Fix typo and formatting in gnupg article 2022-04-12 21:41:21 +02:00
ac40624c65
Fix -r meaning in gnupg post 2022-04-12 19:20:42 +02:00
61b1cffd15
Show revision date if added 2022-04-12 12:35:34 +02:00
d405c24b4c
Add used sources for GnuPG post 2022-04-12 11:28:34 +02:00
c1b1f017a9
Add comment 2022-04-12 11:25:28 +02:00
319c9b0da3
Make it possible to easily add sources 2022-04-12 11:25:06 +02:00
cb9b6b7a7a
Fix typo in command 2022-04-10 14:55:42 +02:00
e293fb9aa0
Add GnuPG post 2022-04-10 13:46:50 +02:00
27d31ce605
Add link to privacy policy to footer 2022-04-08 20:29:00 +02:00
04b6efc535
Add privacy policy page 2022-04-08 20:29:00 +02:00
d681db98d5
Don't show error/ in navbar 2022-04-08 20:29:00 +02:00
26041fa0bd
Also render forbid page for 401,405,407,410,429 2022-04-08 20:29:00 +02:00
32ef4d2084
Add 403 page (it has gandalf!) 2022-04-08 20:29:00 +02:00
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
3864c455a5
Remove discord server from contact page 2022-02-27 14:58:23 +01:00
6389be559f
Use bash explicitly, not any system sh 2022-02-08 19:08:53 +00:00
7e3a2bc954
Ignore hugo build lockfile 2022-02-08 20:04:59 +01:00