Commit Graph

318 Commits

Author SHA1 Message Date
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
a4a68c8b61 Initial work on adding i18n support, drop footer link support (breaking change!) 2024-06-15 22:36:03 +03:00
7cfc1a9cd6 Make dialog buttons a <div> instead of <p>, render Markdown in blog and post descriptions 2024-06-15 02:58:51 +03:00
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
c12b8caa76 Drop support for johnverts (out of scope) 2024-06-11 17:27:38 +03:00
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
1a51a28945 Mhm 2024-06-09 19:42:41 +03:00
a69c24ef0a Links menu in nav on mobile, DRY-er icon styles 2024-06-09 00:29:17 +03:00
d93bb90561 Custom focus indicator and accessebility fixes 2024-05-29 03:39:59 +03:00
0b9ea98cba Allow loading additional scripts (hopefully people won't do anything horrible with this) 2024-05-27 22:11:03 +03:00
a08d719088 Active navbar link indicator 3000
Totally not inspired by Discord
2024-05-27 01:33:51 +03:00
b32c51b71a Make source_url and issues_url optional and adapt content if not set 2024-05-21 16:23:18 +03:00
39d75b08c7 Use article element in article.html 2024-05-21 01:49:15 +03:00
a108cc7501 Fancier hr, goatcounter analytics, simplify bg-color variable, add default value for the locale setting 2024-05-16 17:20:34 +03:00
d6e9d094cd Fix the image shortcode 2024-05-13 17:34:32 +03:00
5b6ea6904c Revert "Convert colors to the superiour format (HSL)"
This reverts commit dad3e18d81.
2024-05-13 03:22:52 +03:00
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
1f7dab1f59 Proper support for heading anchors 2024-05-09 22:52:02 +03:00
3f87d78b33 Add optional copy code button! 2024-05-09 22:01:25 +03:00
86cc9a7ff3 Improve footer socials hoover state, make the structure cleaner 2024-05-04 22:41:35 +03:00
05d44214be Rename blog* to article* (breaking change!)
Since these styles and templates can be used not only for blogs but for anything, more correct naming makes sense, at cost of a breaking change...
2024-05-02 21:54:47 +03:00
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
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
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
c1abdc238b Change the warning icon in disclaimer to bigger one
Outline variant appears too small, filled one on the other hand fits perfectly
2024-04-25 12:07:43 +03:00
13f280601b Fix cut-off emoji favicon, fix static favicon being used when animated one is available 2024-04-21 21:56:28 +03:00
41ff1c4748 Some improvements to the config (breaking changes!)
- Remove support for per-page/section emoji favicon (breaking change!)
- Update copyright year
- Improve code comments in config
- Introduce a new configuration variable: locale; used for defining comment timestamp locale
- Fix code blocks having every other line being darker in some complex cases (unset leftover styles from "table")
- Fix code block "mark" having an edge highlight (leftover style from "mark")
- Use get_url for code block styles
- Always use png favicon as a fallback
- Get rid of transparency and roundness in apple-touch-icon (as recommended by 🤮pple)
2024-04-21 20:44:52 +03:00
c80b47fa92 Use warning icon instead of a glyph, move QR styles to comments
-since it's not used anywhere else at the moment
2024-04-04 07:06:17 +03:00
5e6693e3d6 Use button instead of a link on 404, add cursor style, fix capitalisation 2024-04-04 01:20:25 +03:00
6630785ecb Improve nav links logic (BREAKING CHANGE) 2024-04-01 07:08:09 +03:00
16a73ef4d3 Get rid of the anchor tag in image shortcode 2024-03-31 00:15:01 +03:00
d999241592 Minor formatting fix 2024-03-30 23:09:54 +03:00
31aeba8ec3 Improve explanation text for comments, make abbr dotted again 2024-03-30 23:00:33 +03:00
ecbf5f96eb Spin boosts/faves icon on hover (more fun!) 2024-03-30 22:27:43 +03:00
1dd9b457ca Revert back to using goqr.me API for comment QR
DDG doesn't seem to work in "production" for some reason, while it works
perfectly fine locally :/
2024-03-30 21:38:06 +03:00
790e77d615 Don't add Mastodon verification rel="me" if extra.comments is not present in config
Fix #17
2024-03-29 02:48:10 +03:00
7f1b6b4abd Use DDG for QR code, fix #14 and #16 2024-03-27 05:16:41 +03:00
4dbe313a0f Improve timestamp format and add it to the head
It gets erased if html minification is enabled tho
2024-03-19 07:29:35 +03:00
b09938b894 Try to fix the not working home button in nav
For some reason it didn't work for some users (#12)
2024-03-19 06:47:02 +03:00
21dc1ed7b1 Use SVG icons for boosts/faves
And yeah I returned the boosts, and faves is now a star to match what
masto/akkoma does
2024-02-27 21:50:58 +03:00
d0eaa63568 Change indenting to 1 tab (4 spaces)
It's more readable this way
2024-02-27 18:38:23 +03:00
4a63a7b95b Add Description to single taxonomy list
Having a description for each post just like `blog_list.html` adds more uniformity and is very helpful
2024-02-22 11:13:55 +00:00
e03bfb8298 Less mastodon-centric wording (e.g Akkoma and Sharkey can be used for comments just fine) 2024-02-12 22:32:01 +03:00
ae977db857 Add type for favicons, chnage includes to partials 2024-02-11 11:15:15 +03:00
cd69d19ed7 Improve nav, support .domains in workflow 2024-02-07 17:14:51 +03:00
e4246c69b8 feat: Skip to content link 2024-02-04 00:32:33 +03:00
14fd1a6dc3 feat: Keep custom stuff where it belongs; in my repo :P 2024-02-01 00:14:08 +03:00
a7285b3e43 Merge pull request 'cleanup: Not showing "you need javascript" twice in the comments section' (#6) from gxbs/duckquill:main into main
Reviewed-on: https://codeberg.org/daudix/duckquill/pulls/6
2024-01-31 20:47:45 +00:00
19cfe29643 cleanup: Not showing "you need javascript" twice in the comments section 2024-01-31 20:11:19 +00:00
236c82f1b5 feat: Use bad html for now (sorry xhtml, you look promising but I've got no more nerve cells today) 2024-01-31 02:09:03 +03:00