15 Commits (5bc593b67609454d8a1b0b1245ed53cc1f778171)

Author SHA1 Message Date
welpo 5e0cbdd67d
feat: allow disabling CSP, following the hierarchy
Introduces new option `enable_csp`, true by default.
Can be set on a page, section or globally.
12 months ago
Mohammed Alotaibi c4893d4fdd
feat(i18n): implement pluralization logic (#277)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
Mohammed Alotaibi b3ef23f305
🐛 fix(i18n): reverse arrows in RTL languages (#272)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
ZzMzaw b011f58da6
feat: allow inverting previous/next article links (#261)
- Adds next/previous labels for clarity
- Truncated long titles get "…" appended

Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
Óscar d50a85b5bc
feat: adjust width of prev/next link section (#248) 1 year ago
Óscar dac6bfc024
feat: add previous/next article navigation (#246) 1 year ago
Óscar Fernández de28c7fdeb
feat(comments): allow page override of global system (#216) 1 year ago
welpo 5458b1c533
🎨 style: fix whitespace issues 1 year ago
Óscar 6f269eee4a
feat(templates): introduce info-page template (#147) 1 year ago
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 1 year ago
Ó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.
1 year ago
welpo dceceff5fd
♻️ refactor: improve spacing and indentation 2 years ago
welpo 3aa22cb3ad
♻️ refactor: split macros.html in different files
Clearer macros format.
2 years ago
welpo 095b9d0d07 🐛 fix: add end-of-file newline 2 years ago
welpo 0b117d1641 first commit 2 years ago