109 Commits

Author SHA1 Message Date
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
adcfdc6b72
Display -> show 2024-06-20 10:02:57 +03:00
daudix
84a5028c89
Allow settings custom copyright 2024-06-20 09:09:27 +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
fe3a058dfc
Add some basic arabic demo
Yes, the translation is dogshit, I didn't have time to translate it
myself, so here we are, using DeepL
2024-06-18 08:52:50 +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
58f4e9975e
Open animation for lang menu and emojis 2024-06-18 00:04:42 +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
c12b8caa76
Drop support for johnverts (out of scope) 2024-06-11 17:27:38 +03:00
daudix
047552a6e3
Format config.toml 2024-06-08 22:27:26 +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
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
398fb7ebfd
Migrate Mastodon account to vmst.io 2024-05-07 15:53:21 +03:00
David Lapshin
4c774ff990
Make footer social links darker
They were too bright compared to the "powered by" text, even though it used same color
2024-05-02 21:30:29 +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
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
daudix
68a0299fe2
Improve comments in config 2024-04-01 07:23:44 +03:00
daudix
0508bb0a9f
Revert the test from 0c38fc12de 2024-04-01 07:16:21 +03:00
daudix
0c38fc12de
Test with base_url = "/" 2024-04-01 07:13:19 +03:00
daudix
6630785ecb
Improve nav links logic (BREAKING CHANGE) 2024-04-01 07:08:09 +03:00
daudix
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
daudix
9f37b9519d
Change johnvert description 2024-03-28 06:22:49 +03:00
daudix
7f1b6b4abd
Use DDG for QR code, fix #14 and #16 2024-03-27 05:16:41 +03:00
daudix
d0eaa63568
Change indenting to 1 tab (4 spaces)
It's more readable this way
2024-02-27 18:38:23 +03:00
daudix
dd26561fe7
fix: Previous commit 2024-01-29 16:10:29 +03:00
daudix
83e5d27035
feat: Update config to reflect removal of the icon font 2024-01-29 16:09:20 +03:00
daudix
e4b78d5d03
feat: Rewrite comments thingy from https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/ 2024-01-28 03:16:51 +03:00
daudix
5603e05dda feat: Emoji favicon support
🦆🪶
2024-01-20 22:40:48 +03:00
daudix
e01e715745 feat: Use primary color specified in config
Sorry, not sorry iPhone users, get a phone on which you are able to use something different than Safari, or get a newer one :)
2024-01-20 20:13:23 +03:00
daudix
3e8e9647d8 feat: Revert previous nav design, re-add option to disable nav icons
Yes, I'm weird
2024-01-20 19:14:09 +03:00
daudix
4ab0720ce2 feat: More glass-like navbar, support for author set in front matter, remove option to disable nav icons 2024-01-20 18:39:04 +03:00
daudix-UFO
4addfec36e feat: Restore BS icons, separate styles to modules 2024-01-13 17:15:18 +03:00
daudix-UFO
ff88bdb6d4
feat: Borrow $BASE_URL implementation from after-dark
37b4516e5b/templates/index.html (L42-L47)
2023-12-25 05:31:59 +03:00
daudix-UFO
1c62b0db78
feat: exozyme -> codeberg 2023-12-21 20:03:47 +03:00
daudix-UFO
1545040ba0
feat: exozyme -> codeberg 2023-12-21 19:44:29 +03:00
daudix-UFO
2e70914d51 feat: Improved tags; get rid of bootstrap icons and scanlines
- Tags now use horizontal unordered list and have dope hover effect (shoutout to https://libreivan.com)
- Get rid of Bootstrap Icons and Scanlines scss files, the former added extra ~90kb to the stylesheet which I think is bloat, one can use emojis for this, and the scanlines were replaced by much simpler code from https://aroace.space
- Replace fg09 with fg10; it just makes more sense
- Simplify anchor styling
- Update woodpecker.yml to work with Woodpecker 2.0
2023-11-26 05:08:08 +03:00
daudix-UFO
212fd71c3f chore: Get rid of hosting config variable 2023-11-05 19:28:21 +03:00
daudix-UFO
d7c2f206b9 feat: Comments in config.toml 2023-11-03 00:23:42 +03:00
daudix-UFO
71fdfc7557 feat: Simplify <code> style, use tables instead of lists for available variables 2023-10-30 21:12:26 +03:00
daudix-UFO
461eaaa7a0 chore: Remove favicon/card source files 2023-10-28 22:12:42 +03:00
daudix-UFO
d39b7f5630 feat: Bootstrap icons, new H1 style, symlink README to site index 2023-10-28 04:20:09 +03:00