Commit Graph

165 Commits

Author SHA1 Message Date
daudix
19e976375c Use code block header if copy button is enabled
Now copy button doesn't cover the code, because it's not on top of it!
2024-07-18 01:55:09 +03:00
daudix
e8cc17a4a0 A11y improvements and style tweaks
- Use button element instead of anchors, fixes keyboard navigation and
other issues
- Disable search input until it's open, prevents being able to write
inside it while it's closed
- Use :root instead of html in CSS
- Add minimal size for separator between home button and other links
2024-07-16 23:42:46 +03:00
daudix
12408de744 Much fancier banners 2024-07-15 07:10:12 +03:00
daudix
70d7a0ee0e Nuh uh, can be easily done with custom css 2024-07-15 04:10:12 +03:00
daudix
0d3c539880 Allow setting different primary color for dark mode 2024-07-15 01:30:31 +03:00
daudix
792a4a14ea Simplify banner and improve readability when used 2024-07-14 08:17:36 +03:00
daudix
6615b14471 Change copy code button color depending on whether it has light/dark variant 2024-07-14 05:57:46 +03:00
daudix
26aea8cf46 Trim whitespace in more places 2024-07-13 22:57:02 +03:00
daudix
f690ec1105 Post banners! 2024-07-13 22:48:55 +03:00
daudix
c3466f9810 Add l10n strings for comments QR code alt text 2024-07-09 01:06:03 +03:00
daudix
7e629c95ff Float tags to the end of post card 2024-07-07 16:48:19 +03:00
daudix
5ab1557a93 Make the search bar visually part of the navbar
Plus make it nicer structucally
2024-07-05 06:43:45 +03:00
daudix
1758eb99a8 Make margins/paddings automatically adapt in rtl
No need for separate rules for rtl, yay!
2024-07-05 05:54:19 +03:00
daudix
4edb6e9760 Make blog description optional 2024-07-05 05:53:25 +03:00
daudix
280857fc56 Use margin instead of untrimmed space 2024-07-05 03:08:38 +03:00
daudix
29fa3ec522 Add GitHub-styled alerts 2024-07-05 03:01:00 +03:00
daudix
6f9c51fa5d Make the default locale en_US instead of en_IE
en_US is way more common and usual for most people than the weird
European en_IE (I do like it but that's just me)
2024-06-30 21:02:01 +03:00
daudix
b7ce98f381 Omit old-style type attributes 2024-06-30 06:12:55 +03:00
daudix
7ebac23811 Bump minimal Zola version, make primary color non-essential 2024-06-30 03:10:19 +03:00
daudix
3eaa81e755 Add search support
Only supports elasticlunr_json
2024-06-30 02:58:34 +03:00
daudix
0404e9e5cb Full-bleed media 2024-06-28 20:28:30 +03:00
daudix
fa8b441f7b Allow floating images to start/end of a paragraph 2024-06-27 22:55:35 +03:00
daudix
494cb5474f Multiple feeds support introduced in Zola v0.19.0 2024-06-27 04:25:07 +03:00
daudix
c592f88a6b Don't use span for edit time 2024-06-26 00:26:06 +03:00
daudix
e2a03a455d Use custom domain: duckquill.daudix.one 2024-06-22 22:54:00 +03:00
daudix
b157f81a07 Allow making posts "featured", tweak article list styles 2024-06-22 06:29:52 +03:00
daudix
6c092ad49d Improve favicon loading logic, add language meta tag 2024-06-21 21:13:53 +03:00
daudix
fe6de0eb17 Deprecate the animated_favicon variable
APNG seems to be well supported so it's not needed I guess
2024-06-21 20:39:43 +03:00
daudix
238f84de30 Make dates respect current locale (deprecations!)
And make comments use it in a smart way (it's not but it works)

Deprecate "extra.date_format" and "extra.comments.locale" and replace it
with "date_format" and "date_locale" in translation files
2024-06-20 19:26:12 +03:00
daudix
13fad928f7 Rename translation keys 2024-06-20 10:19:27 +03:00
daudix
8e77b6f931 Smart syntax highlighting theme loading 2024-06-20 09:52:50 +03:00
daudix
7b7b89b366 Remove leftover code 2024-06-20 09:10:24 +03:00
daudix
84a5028c89 Allow settings custom copyright 2024-06-20 09:09:27 +03:00
daudix
37e0939391 Continue previous commit 2024-06-20 09:03:46 +03:00
daudix
40b1895618 Redo the translation system (steal from tabi) 2024-06-20 08:42:24 +03:00
daudix
7691b260a3 Fix missing labels (a11y)
Additionally add some missing translations
2024-06-20 06:48:56 +03:00
daudix
06abedb4b0 Fun footer links (Powered by Zola and Duckquill) 2024-06-20 03:32:05 +03:00
daudix
ee70e5fe46 More RTL improvements and some style tweaks 2024-06-18 07:52:13 +03:00
daudix
fbed171669 Add external class to external buttons 2024-06-18 06:42:40 +03:00
daudix
17634a94da Add "open post" button to comments
Since I started working on the i18n support, comments lost it's previous
link to the post, so it's been added back in a form of an actual button
2024-06-18 06:08:18 +03:00
daudix
bcf57b7147 Display posts count for each tag in the tag list
And increase the "small" for size to closest pixel-perfect value
2024-06-18 05:44:13 +03:00
daudix
dce877ff85 Return footer links, with a bit different style 2024-06-18 04:02:52 +03:00
daudix
52e9cbeda0 Across the board style fixes and simplifications
Plus bump to v3
2024-06-18 03:19:37 +03:00
daudix
dab00bd98c Make more strings translatable (I hate how i18n is handled in Zola) 2024-06-17 07:33:32 +03:00
daudix
2abb4d234c A set of style fixes for rtl langs 2024-06-17 05:21:54 +03:00
daudix
f7dcab6c1d Add language switcher
It's a bit WET but hey, better than nothing I guess
2024-06-16 05:59:33 +03:00
daudix
88cf05a654 Fix nav active indicator, remove useless default values 2024-06-16 05:20:06 +03:00
daudix
7bb9b19e77 Make previous commit actually work
This is a huge mess, Zola is really not i18n-friendly
2024-06-16 04:57:51 +03:00
daudix
a4a68c8b61 Initial work on adding i18n support, drop footer link support (breaking change!) 2024-06-15 22:36:03 +03:00
daudix
7cfc1a9cd6 Make dialog buttons a <div> instead of <p>, render Markdown in blog and post descriptions 2024-06-15 02:58:51 +03:00