121 Commits

Author SHA1 Message Date
3a76d70cd5 Remove sticky navigation bar #1 2025-02-18 15:29:11 +01:00
6e2b88be43 Initialize Duckling 2025-02-18 15:06:08 +01:00
sumarsono
58938645eb fix(csp): frame-ancestors directive is not supported in the <meta> element
Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors

Signed-off-by: sumarsono <sumarsono@noreply.codeberg.org>
2025-01-14 08:24:12 +00:00
daudix
08860f5974
Automatic contrast color picking (fixes #43) 2024-12-23 22:48:34 +03:00
David Lapshin
f85c54f9d9 Merge pull request 'Add French translations' (#113) from zoug/duckquill:main into main
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/113
2024-12-03 23:39:54 +00:00
daudix
588ba66112
Fix navbar not scrolling with content on mobile (fixes #109) 2024-12-01 14:10:51 +03:00
yzoug
d1fe7ab3c8 Add French translations 2024-11-20 00:07:01 +01: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
726cd704d4
Adjust nav hitbox once again 2024-10-30 16:11:23 +03:00
daudix
3fea028e25
Make auto-hide optional 2024-10-28 06:46:53 +03:00
daudix
35382b15b5
Add config.extra.debug_no_styles for debugging 2024-10-24 13:21:14 +03:00
daudix
62d43c9e71
This one's extra... 2024-10-19 15:27:09 +03:00
daudix
732217ccea
Append comments host in CSP 2024-10-18 20:30:23 +03:00
daudix
865c1d2839
Maybe. 2024-10-18 20:13:59 +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
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
841ccc5fa5
Add support for Fuse.js search (fixes #101) 2024-10-16 23:23:40 +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
ac8f1e9518
Add missing content files for Simplified Chinese, change language code 2024-10-06 18:50:00 +03:00
daudix
e2c3f7581b
Add support for Content Security Policy (fixes #90) 2024-10-05 22:46:06 +03:00
Alireza Alavi
182bc718c2 Add Farsi translation and localization 2024-10-03 12:48:29 +03:30
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
b98775d61c
Allow enabling KaTeX per page/section (fixes #89) 2024-09-29 02:48:21 +03:00
daudix
c00e2da03e
Replace tricks with mods (fixes #88) 2024-09-25 20:51:11 +03:00
daudix
4e0702548c
Add Spanish language to config.toml 2024-09-25 16:06:39 +03:00
daudix
543d1bf862
Add share button and more (fixes #73) 2024-09-17 01:40:25 +03:00
daudix
a5f16ca54f
Optional bundled fonts (fixes #44). Style cleanups 2024-09-15 03:49:59 +03:00
daudix
a1946ae0b2
A bunch of breaking changes for no reason except for "I didn't like it"
I mean, this release has breaking changes anyway, why not break all the
stuff I wanted to break?
2024-09-14 03:37:03 +03:00
daudix
1722b95bea
Rename stylesheets key to styles [BREAKING CHANGE] 2024-09-12 19:20:33 +03:00
daudix
6e2d7e9fbc
Reword some comments in the config 2024-09-11 21:36:05 +03:00
daudix
a94a2f6e52
Layout debugging config variable 2024-09-11 20:47:48 +03:00
daudix
d1ff2c9707
Add symlinks for Bahasa Melayu 2024-09-09 04:57:25 +03:00
daudix
a84165fe3b
Docs improvements, allow setting more stuff outside of articles 2024-09-08 23:50:20 +03:00
daudix
607567248c
Update CSS and configuration for theme opacity and color management 2024-09-01 20:06:34 +03:00
daudix
db499a9363
Attempt to switch to relative colors for primary-color-alpha, simplify --active variable, add --hover and --disabled variables 2024-09-01 16:54:39 +03:00
daudix
98719cc5a3
Add KaTeX to the config and demo 2024-08-28 17:10:32 +03:00
daudix
fa7d9c5ca9
Make commented-out config variables easier to find 2024-08-28 02:51:03 +03:00
daudix
d8cc59e7b8
Change navbar links 2024-08-27 04:42:12 +03:00
daudix
7ebea6c1b2
Initial navbar menus implementation (fixes #56 and #62)
I'm aware that the styles are very messy, I'm going to rewrite the whole
_nav.scss to be more DRY later.
2024-08-25 23:56:17 +03:00
daudix
7808d906f1
Use modern RGB format (fixes #54) 2024-08-23 23:18:59 +03:00
daudix
0bbb407804
Some wording changes 2024-08-21 02:36:11 +03:00
daudix
c69b4a3e4f
Add repository button to the navbar 2024-08-18 02:32:22 +03:00
daudix
67c698b949
Add manual theme switcher (fixes #5) 2024-08-18 02:19:34 +03:00
daudix
0b180de74f
Temporary fix for #43 2024-08-15 00:11:16 +03:00
daudix
9d1eae1707
Fix search bar being present when search is disabled 2024-08-06 19:50:13 +03:00
daudix
f86f950866
Disable lazy images for now
The feature is very unstable on Zola's side, it causes a lot of
rendering issues that I don't know how to fix because it's not an issue
on my end.
2024-08-05 05:42:03 +03:00
daudix
f1b90e3b23
Turn on lazy images for testing 2024-08-02 04:40:35 +03:00