18 Commits

Author SHA1 Message Date
welpo
f93def0692
👷 misc(CI): ignore deleted files in pre-commit 2024-11-16 19:01:14 +01:00
welpo
448250ff57
🐛 misc(pre-commit hook): handle filenames with spaces 2024-06-21 00:54:22 +02:00
welpo
71f09a81b0
👷 misc(CI): use git-sumi hook to lint commit messages 2024-02-07 17:13:45 +01:00
welpo
b16ad26b00
👷 chore(pre-commit): ignore TODO in changelog 2023-12-30 01:07:03 +01:00
welpo
5458b1c533
🎨 style: fix whitespace issues 2023-10-07 23:31:59 +02:00
welpo
f98d23ec93
👷 feat(pre-commit): improve robustness checking commands 2023-10-02 18:51:19 +02:00
welpo
cc029d0b19
🔍️ chore(SEO): update social media cards 2023-09-12 21:09:36 +02:00
Óscar
32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages (#145)
Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
2023-09-12 18:58:58 +02:00
Óscar
d53b8470a6
feat: add support for social media cards (#130) 2023-09-06 13:38:52 +02:00
Óscar
a1378fe16b
🔧 refactor(theme.toml) set sane defaults (#127) 2023-08-30 02:11:54 +02:00
welpo
1601fbf30c
feat(pre-commit): sync config.toml and theme.toml [extra] 2023-08-18 23:01:34 +02:00
welpo
2833d9f8c0
🔨 docs(pre-commit): remove redundancy in minified error 2023-08-18 15:10:42 +02:00
welpo
cffe06f44e
feat(pre-commit): show which JS compressor is best 2023-08-17 23:56:21 +02:00
welpo
1027c4fd02
feat(pre-commit): check for JS minification 2023-08-17 23:42:40 +02:00
welpo
adb702f3c3
🐛 fix: is_draft returning opposite value
 feat: avoid commiting files with "TODO"

♻️ refactor: loop over all files, not just markdown and png.
Useful to catch TODOs in Tera templates, for example.
2023-08-16 23:56:42 +02:00
welpo
89519e6268
💡chore: add usage instructions 2023-08-16 01:15:16 +02:00
welpo
6cb2327907
feat: avoid commiting drafts
- Optimizes both new and modified png files.
2023-08-16 01:05:25 +02:00
welpo
22d8ae6b8a
🔨 feat: add pre-commit hook
- Updates the `updated` date of posts.

- Compresses PNG files.

- Creates font subsets.

- Updates multilanguage-related lines in README.md.
2023-08-16 00:11:38 +02:00