67 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
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
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
c3466f9810
Add l10n strings for comments QR code alt text 2024-07-09 01:06:03 +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
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
494cb5474f
Multiple feeds support introduced in Zola v0.19.0 2024-06-27 04:25:07 +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
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
dce877ff85
Return footer links, with a bit different style 2024-06-18 04:02:52 +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
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
9eee1bc77d
Move the rest of the icons to CSS mask
This way user can change the icon without overriding the template
itself, plus it's cleaner this way
2024-06-13 17:15:35 +03:00
daudix
c12b8caa76
Drop support for johnverts (out of scope) 2024-06-11 17:27:38 +03:00
daudix
f2644b9b5c
Get rid of the mobile menu
It wasn't as good as I would like it to be
2024-06-10 17:04:02 +03:00
daudix
1a51a28945
Mhm 2024-06-09 19:42:41 +03:00
daudix
a69c24ef0a
Links menu in nav on mobile, DRY-er icon styles 2024-06-09 00:29:17 +03:00
David Lapshin
d93bb90561
Custom focus indicator and accessebility fixes 2024-05-29 03:39:59 +03:00
David Lapshin
0b9ea98cba
Allow loading additional scripts (hopefully people won't do anything horrible with this) 2024-05-27 22:11:03 +03:00
David Lapshin
a08d719088
Active navbar link indicator 3000
Totally not inspired by Discord
2024-05-27 01:33:51 +03:00
David Lapshin
b32c51b71a
Make source_url and issues_url optional and adapt content if not set 2024-05-21 16:23:18 +03:00
David Lapshin
a108cc7501
Fancier hr, goatcounter analytics, simplify bg-color variable, add default value for the locale setting 2024-05-16 17:20:34 +03:00
David Lapshin
5b6ea6904c
Revert "Convert colors to the superiour format (HSL)"
This reverts commit dad3e18d816cc02d06c38d62f228f9337763a6bd.
2024-05-13 03:22:52 +03:00
David Lapshin
dad3e18d81
Convert colors to the superiour format (HSL)
Still need to figure out how to make sure it's sompiled to rgb everywhere
2024-05-13 01:05:49 +03:00
David Lapshin
3f87d78b33
Add optional copy code button! 2024-05-09 22:01:25 +03:00
David Lapshin
86cc9a7ff3
Improve footer socials hoover state, make the structure cleaner 2024-05-04 22:41:35 +03:00
David Lapshin
8aa03d03fa
Rewrite footer to support links and socials, tweak heading sizes, deprecate page/site links and replace with "external" class, change discalimer heading from plural to singular 2024-05-02 17:58:27 +03:00
David Lapshin
af84b56ede
Make the navbar non-mandatory
I can imagine duckquill being used for one-page sites that simply don't need it, plus we can get rid of one more variable from theme.toml
2024-05-02 00:32:32 +03:00
David Lapshin
34ebf5a6dc
Add drfated and archived badges in blog list, use archive icon for archived statement, remove ellipsis form load comments button 2024-04-29 17:05:11 +03:00