Commit Graph

946 Commits

Author SHA1 Message Date
Yassine Zouggari
b27158102a Merge branch 'main' into allow-sharing-without-description 2024-12-03 22:08:02 +00:00
Yassine Zouggari
176ec48cea Check if page.description is empty before trying to use it
The article.html template, when the sharing button is enabled, uses the
description of the page to generate the share link. However the end user
may not want descriptions. If a page description is empty, the following
error is thrown:

```
Error: Failed to build the site
Error: Failed to render page '/home...index.md'
Error: Reason: Failed to render 'article.html'
Error: Reason: Filter call 'urlencode' failed
Error: Reason: Filter `urlencode` was called on an incorrect value: got `null` but expected a String
```

We now check if the description is not empty before passing it to
urlencode, and don't use it if it is not set
2024-12-03 23:01:38 +01:00
daudix
b4699e4837 Move to Vercel 2024-12-03 01:27:49 +03:00
daudix
66d2504350 Use level 3 heading 2024-12-01 17:21:03 +03:00
daudix
0d479ef409 Use table_of_contents string instead of toc 2024-12-01 17:19:21 +03:00
David Lapshin
60e8168876 Merge pull request 'fix(translation): add toc to en,ar,fa' (#111) from alirezaalavi/duckquill:main into main
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/111
2024-12-01 14:14:00 +00:00
Alireza Alavi
4567314e45 Merge branch 'main' into main 2024-12-01 14:11:32 +00:00
daudix
28518880b5 Bump to v6.1.0 2024-12-01 17:40:35 +03:30
daudix
854d3f1c91 Optional TOC sidebar (fixes #107) 2024-12-01 17:40:35 +03:30
Alireza Alavi
b70d98aecd fix(translation): add toc to en,ar,fa 2024-12-01 17:32:52 +03:30
daudix
c4dcb3cc12 Bump to v6.1.0 2024-12-01 17:00:28 +03:00
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
588ba66112 Fix navbar not scrolling with content on mobile (fixes #109) 2024-12-01 14:10:51 +03:00
David Lapshin
f752cb2b01 Merge pull request 'Modify zh-Hans translation' (#108) from lxy-one/duckquill:main into main
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/108
2024-11-21 12:44:10 +00:00
saihaze
a9fc4ba5c6 Modify zh-Hans translation 2024-11-21 11:01:54 +08:00
daudix
2235ee5d2d Update inter to v4.1 (5min. after release) 2024-11-16 03:32:57 +03:00
daudix
c8e0775eba Inherit font family for buttons 2024-11-14 20:03:54 +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
45b13f00b5 Add zstg.is-a.dev 2024-11-12 20:37:29 +03:00
daudix
1b30a99e9f Add lifailon.github.io 2024-11-11 16:49:29 +03:00
daudix
6c7615ff52 Update .woodpecker.yaml 2024-11-08 20:18:05 +00:00
daudix
245440003f Update screenshit 2024-11-03 05:36:01 +03:00
daudix
140d8bbf0a Sync with the release changelog 2024-11-03 00:37:47 +03:00
daudix
da0a9b967e Bump to v6.0.0, remove dead sites and mentions of mine 2024-11-02 22:21:27 +03:00
daudix
cb9a8fa295 Adjust banner + heading margin 2024-11-01 02:17:49 +03:00
daudix
8e65f9e160 Only set blockquote padding from the left 2024-10-31 04:42:02 +03:00
daudix
e867a12356 Margin and variables stuff 2024-10-30 20:56:30 +03:00
daudix
726cd704d4 Adjust nav hitbox once again 2024-10-30 16:11:23 +03:00
daudix
bdd842ca1a Fix handle hitbox 2024-10-29 18:37:30 +03:00
daudix
6c405946c6 Add external class to https:// links in navbar/footer 2024-10-29 02:16:52 +03:00
daudix
0eedcc39e9 Adjust handle width 2024-10-28 17:30:52 +03:00
daudix
5477181574 Set higher z-index on handle 2024-10-28 17:07:15 +03:00
daudix
ab64a1c404 More prominent nav handle 2024-10-28 16:48:25 +03:00
daudix
3f41e2a0e6 Adjust article heading top margin 2024-10-28 16:23:35 +03:00
daudix
426137855d Prevent the nav from being clicked when collapsed 2024-10-28 16:18:46 +03:00
daudix
1f4bc72bcb Add #106 to changelog 2024-10-28 06:50:45 +03:00
David Lapshin
7751a8573a Merge pull request 'Show navbar on hover/keyboard focus' (#106) from hidden-nav into main
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/106
2024-10-28 03:47:53 +00: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
9d4df2790a Aspect ratio exists for a reason 2024-10-28 00:16:16 +03:00
daudix
f4d7091c19 Translate more_matches string 2024-10-27 04:16:10 +03:00
daudix
1d0d9fbbe8 Revert the change of looks of colored buttons 2024-10-27 03:34:38 +03:00
daudix
77b16597b0 Remove reduant class 2024-10-27 03:19:57 +03:00
daudix
6b70c103c1 Format code 2024-10-26 18:13:34 +03:00
daudix
eeefe83730 Set base font size 2024-10-26 17:28:28 +03:00
daudix
81d366d184 Add back support for lazy images in comments 2024-10-26 01:05:33 +03:00
daudix
e7680b60ea Update spell checker ignore 2024-10-25 22:45:21 +03:00
daudix
65f0fd5159 Add support for CWs in comments 2024-10-25 22:43:50 +03:00