29 Commits (main)

Author SHA1 Message Date
ZzMzaw 0253799f23
feat: add series functionality (#406)
Co-authored-by: welpo <welpo@users.noreply.github.com>
4 months ago
Óscar 092ccdd1ba
💥 feat!: force code blocks LTR rendering (#412)
BREAKING CHANGE: Code blocks default to LTR. Set `force_codeblock_ltr = false` to keep previous behaviour.
4 months ago
welpo a907f56bd5
feat: add option to use sans-serif font everywhere 8 months ago
Mohammed Alotaibi 1d55a2963d
feat(i18n): add Right-to-left script support (#262)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
welpo 5458b1c533
🎨 style: fix whitespace issues 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
Óscar 78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2 years ago
welpo 3344f80539
🚑️ fix(footer): render footer again
#128 broke it.
2 years ago
Óscar f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 2 years ago
Óscar b73f7f5d93
feat(HTML): respect `external_links_…` config (#126) 2 years ago
Óscar 0e3a4af49b
feat: add link to commit history on updated articles (#109) 2 years ago
welpo 07ceddcc00
feat: enhance Table of Contents
- Introduce `toc_ignore_pattern` to ignore specific headers based on regex.
- Allow custom ToC placement with shortcode or "<!-- toc -->" marker.
- Increase max depth for ToC to 4.
- Update Documentation for the above features.
 - Move ToC generation to a macro file.
2 years ago
welpo c78c7f5bd1
feat: allow setting the default theme
Used as fallback when JS is disabled and `theme_switcher` is enabled.

If `default_theme` is unset, it defaults to "light".

Used as single theme when `theme_switcher` is disabled.
2 years ago
welpo edcfa359ef
feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
2 years ago
Óscar 5cdc18e688
feat: add backlinks to footnotes (#101) 2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
welpo eb63718bbf
🚚 refactor: rename minified KaTeX css 2 years ago
welpo f9335b3fa4
feat: add KaTeX support 2 years ago
welpo 9887fb0a6f
feat: allow dual date-format (short/long) 2 years ago
welpo 4b18391c18
♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
2 years ago
welpo a8e49cfedf
♻️ refactor: use consistent pagination 2 years ago
welpo 53d2624133
🐛 fix: use set_title macro to set proper titles
Fixes #33
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