Commit Graph

300 Commits

Author SHA1 Message Date
daudix
915a71fecd Optional TOC sidebar (fixes #107) 2024-12-01 16:55:08 +03:00
daudix
73b2c24018 Smarter title 2024-12-01 15:05:14 +03:00
daudix
39cf0d0bce Remove extra </small> closing tag (fixes #110) 2024-12-01 14:12:20 +03:00
daudix
4b1fac1f17 Backport some changes and fixes
Return the separator customization that got lost in some commit
Don't blur the nav when it's not visible
Don't scale down the article card when clicking on a tag
2024-11-14 19:40:54 +03:00
daudix
e867a12356 Margin and variables stuff 2024-10-30 20:56:30 +03:00
daudix
6c405946c6 Add external class to https:// links in navbar/footer 2024-10-29 02:16:52 +03:00
daudix
3fea028e25 Make auto-hide optional 2024-10-28 06:46:53 +03:00
daudix
8f9fb1e88a Show navbar on hover/keyboard focus 2024-10-28 05:23:59 +03:00
daudix
77b16597b0 Remove reduant class 2024-10-27 03:19:57 +03:00
daudix
81d366d184 Add back support for lazy images in comments 2024-10-26 01:05:33 +03:00
daudix
65f0fd5159 Add support for CWs in comments 2024-10-25 22:43:50 +03:00
daudix
35382b15b5 Add config.extra.debug_no_styles for debugging 2024-10-24 13:21:14 +03:00
daudix
694479bcdb Improved comments (see changelog) 2024-10-23 04:35:15 +03:00
daudix
732217ccea Append comments host in CSP 2024-10-18 20:30:23 +03:00
daudix
bc9a13d630 Even tighter CSP
Will this fix it?

Remove inline script and style from demo

Okay I'm dumb

Ugh
2024-10-18 20:09:33 +03:00
daudix
26b12aadf6 Rewrite half the theme to make Mozilla observatory more happy about strict CSP 2024-10-18 18:16:38 +03:00
daudix
932c7d9aa4 Work on the sparkline [SKIP CI] 2024-10-18 03:23:07 +03:00
daudix
8bf69a5d71 The big shortcode cleanup 2024-10-17 17:00:35 +03:00
daudix
36812777f9 Implement backlinks 2024-10-17 01:28:07 +03:00
daudix
77df7c1120 Add title class for use on <strong> 2024-10-17 00:26:47 +03:00
daudix
b64f9b31f1 Comment out code that prevented opening the search after clicking outside of it 2024-10-16 23:30:38 +03:00
daudix
841ccc5fa5 Add support for Fuse.js search (fixes #101) 2024-10-16 23:23:40 +03:00
daudix
5f675383e5 Move fediverse:creator meta tag higher in head 2024-10-14 18:47:15 +03:00
daudix
4e595760c8 Cleaner article card code and styles 2024-10-14 04:59:30 +03:00
daudix
003ec0b29a Remove drafted watermark for now
The implementation wasn't as clean as I'd like it to be
2024-10-12 18:17:45 +03:00
daudix
ef3525952e Support fediverse:creator meta tag 2024-10-12 00:51:28 +03:00
daudix
a7e1112791 Use Zola's built-in reading time variable instead of the custom implementation (fixes #102) 2024-10-12 00:22:35 +03:00
daudix
800efa802a Add "DRAFTED" watermark to drafted posts 2024-10-11 23:42:15 +03:00
daudix
14dd7f0337 Bump to v5.4.0 2024-10-06 19:06:12 +03:00
daudix
e63a2cdc62 Add external class to the source link 2024-10-06 16:05:23 +03:00
daudix
01e6609286 Scale article cards down when pressed 2024-10-06 07:17:21 +03:00
daudix
636fad2fd5 Make the entire article card clickable (fixes #92)
Plus change the title font, since it no longer has an underline
2024-10-06 06:26:15 +03:00
daudix
e2c3f7581b Add support for Content Security Policy (fixes #90) 2024-10-05 22:46:06 +03:00
daudix
aa43730750 Adjust strings to make translation to specific languages possible (#100) 2024-10-05 17:15:31 +03:00
daudix
f66f757022 Make it possible to rearrange the "Powered by" links (for i18n) 2024-10-03 08:02:36 +03:00
daudix
3080a2ca70 Improve TOC logic, reduce code duplication and add changelog entries 2024-10-02 20:30:55 +03:00
Alireza Alavi
a85b1ccfe6 [Feature] Add options for TOC: inline, popup, numbered (#95)
addressing this issue: https://codeberg.org/daudix/duckquill/issues/94

- You can now choose if you want to have and inline Table of Contents(TOC), a popup, or both!
- You can also choose between numbered and un-numbered TOC styles

note: please squash the commits
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/95
Co-authored-by: Alireza Alavi <alavialireza@protonmail.com>
Co-committed-by: Alireza Alavi <alavialireza@protonmail.com>
2024-10-02 14:23:52 +00:00
daudix
eae48b3762 Focus search bar when open and allow opening it with [/] 2024-10-02 03:44:55 +03:00
daudix
8085b6355c Move post actions to the top on mobile
It's not exactly useful to have them at the bottom
2024-10-02 03:10:33 +03:00
daudix
4a4f037cd6 Prevent articles in the article list from having multiple visual types at once, bump to v5.3.0 2024-09-29 21:29:33 +03:00
daudix
b98775d61c Allow enabling KaTeX per page/section (fixes #89) 2024-09-29 02:48:21 +03:00
daudix
6b19540347 Improve feed logic 2024-09-29 02:35:51 +03:00
daudix
a559ade347 Less IDs 2024-09-28 04:30:13 +03:00
daudix
161ccc6526 Use <li> for nav divider 2024-09-28 03:27:34 +03:00
daudix
72389f8b6d Make scripts defered for (potential) load time boost 2024-09-28 02:45:50 +03:00
daudix
42c78c8557 RTL fixes and anchor restyle 2024-09-28 02:25:08 +03:00
daudix
1c1ffafe1e Fix spacing between heading and description with badge present 2024-09-25 06:32:22 +03:00
daudix
3f6c6486f3 New title style for articles (inspired by gxbs.dev and tesk.page) 2024-09-25 06:02:19 +03:00
daudix
20fe6e82dd Replace "From newest to oldest" with the total amount of posts (fixes #85) 2024-09-24 02:25:16 +03:00
daudix
d4375dbcb4 Who needs float when you can flex 2024-09-23 01:11:51 +03:00