Commit graph

152 commits

Author SHA1 Message Date
ItsDrike d3f9af4560
Add shortcode for mermaid diagrams 2022-05-23 18:54:27 +02:00
ItsDrike 2eec248847
Add iframe shortcode 2022-05-23 18:54:15 +02:00
ItsDrike 900219b281
Use classes instead of ids for changelog and sources 2022-05-23 18:36:52 +02:00
ItsDrike 0ae71e3794
Use tab size of 4 in content-info 2022-05-23 18:35:18 +02:00
ItsDrike a054677e7d
Add 451 error page 2022-05-23 18:33:00 +02:00
ItsDrike c7e49b99f2
Remove youtube shortcode in favor of hugo's built-in 2022-05-23 18:32:07 +02:00
ItsDrike 862d4e0489
Ignore personal cheatsheet post 2022-05-23 18:31:15 +02:00
ItsDrike aff352e513
Group inner content of pages under <article> 2022-05-23 18:28:20 +02:00
ItsDrike c88e5ed28b
Fix heading margins in content info 2022-05-23 18:24:35 +02:00
ItsDrike 70d3e26b86
Move sources and changelog to it's own partial 2022-05-23 18:24:15 +02:00
ItsDrike 0a6245431a
Add styling to sources section 2022-05-23 18:12:34 +02:00
ItsDrike 8a4a518487
Add option to add changelog 2022-05-23 18:12:15 +02:00
ItsDrike 60e87eddfe
Change py to python for fenced codeblocks lang 2022-05-15 13:15:56 +02:00
ItsDrike ead56cf020
Remove dead code 2022-05-15 13:13:08 +02:00
ItsDrike 5807d180f3
Add cusom styled span shortcode 2022-05-15 13:12:03 +02:00
ItsDrike c02b9e6498
Don't globally override table style, use shortcode 2022-05-15 13:11:03 +02:00
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