ItsDrike
70d3e26b86
Move sources and changelog to it's own partial
2022-05-23 18:24:15 +02:00
ItsDrike
8a4a518487
Add option to add changelog
2022-05-23 18:12:15 +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
6a2a77ac48
Overhaul codeblock style
2022-05-15 02:51:45 +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
7fc9d978dd
Add copy button to all codeblocks
2022-05-14 20:27:10 +02:00
ItsDrike
32c391f183
Rename item-link to item-name
2022-05-11 15:36:35 +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
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
61b1cffd15
Show revision date if added
2022-04-12 12:35: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
27d31ce605
Add link to privacy policy to footer
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
477ed92086
Add home page template and content
2021-08-27 00:37:22 +02:00
ItsDrike
cc78f9d92c
Separate header_image to it's own partial
2021-08-27 00:06:10 +02:00
ItsDrike
fb21e83c33
Support local resource images in content
2021-08-27 00:01:44 +02:00
ItsDrike
fa18460df0
Add support for images in content
2021-08-27 00:01:05 +02:00
ItsDrike
60849fcdc6
Only show headers when there are 4 or more of them
2021-08-27 00:00:15 +02:00
ItsDrike
6e888ed235
Add youtube shortcode
2021-08-26 12:36:39 +02:00
ItsDrike
1eb174479a
Fix indentation
2021-08-26 03:02:16 +02:00
ItsDrike
309df89c8c
Add list page for taxonomies (terms)
2021-08-26 03:00:49 +02:00
ItsDrike
164f1b3d53
Use simple <hr> not <hr />
2021-08-26 02:41:39 +02:00
ItsDrike
0db48617ec
Add # anchors before headers in markup
2021-08-26 02:38:21 +02:00
ItsDrike
1385f95d7f
Indent consistently with 2 spaces
2021-08-26 02:06:40 +02:00
ItsDrike
cf116ca468
Add favicon
2021-08-26 02:01:26 +02:00
ItsDrike
aae39c13b3
Add content language meta
2021-08-26 01:57:57 +02:00
ItsDrike
e56ea01985
Make content float on the left side
2021-08-26 01:13:24 +02:00
ItsDrike
f4701e7fa6
Improve content details design
2021-08-26 01:07:17 +02:00
ItsDrike
8b599058c6
Fix whitespace between icons
2021-08-26 00:45:05 +02:00
ItsDrike
1fe0f81e01
Improve single design
2021-08-25 19:47:37 +02:00
ItsDrike
ef1800933b
Make new default listing and use original in posts
2021-08-25 19:41:15 +02:00
ItsDrike
2ab2765363
Add jquery
2021-08-25 19:36:37 +02:00
ItsDrike
4548c18688
Fix navbar toggler (make bootstrap 5 compatible)
2021-08-25 19:35:47 +02:00
ItsDrike
2d09f1b27e
Use with File
2021-08-25 14:55:07 +02:00
ItsDrike
4b002e6734
Add basic navbar
2021-08-25 14:54:51 +02:00
ItsDrike
5806b8fc7b
Add simple footer
2021-08-25 13:07:58 +02:00
ItsDrike
d63710c629
Add social account list
2021-08-25 12:28:20 +02:00
ItsDrike
71fc71e30a
Apply some bootstrap styling
2021-08-25 11:53:41 +02:00
ItsDrike
a82ab80745
Add bootstrap JS
2021-08-25 11:27:49 +02:00
ItsDrike
753f8f0e1a
Add fontawesome
2021-08-25 11:05:43 +02:00
ItsDrike
21f4356ff9
Add robots.txt
2021-08-25 10:54:17 +02:00
ItsDrike
9a594f6596
Add highlight.css
2021-08-25 10:53:38 +02:00
ItsDrike
d50b81cc05
Add style partial
2021-08-25 10:52:41 +02:00