84 Commits (3cb94d9798dcd1770de8b06eb681280828b8079a)

Author SHA1 Message Date
welpo 6673a063b8
🐛 fix: remove unnecessary description filters
It caused issues if description contained double quotes.
1 year ago
Xavier Vello 40df48fd87
feat(list_posts.html): display draft status in post list (#203)
Co-authored-by: welpo <welpo@users.noreply.github.com>
1 year ago
welpo 5458b1c533
🎨 style: fix whitespace issues 1 year ago
welpo 2e34e7e897
🐛 fix (format_date): set `%-d %b %Y` default
Documentation was inaccurate.
1 year ago
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 1 year ago
welpo cb8069fc6e
⚰️ chore(translate): remove outdated comment (#145) 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 9acaba6e35
feat(title): add `invert_title_order` config option (#142) 1 year ago
Óscar 0055a3613e
️ fix(a11y): update heading tags (#140) 1 year ago
welpo 695e40be70
feat(ToC): implement setting hierarchy for ToC
Related: #128 and #120
1 year ago
Óscar d53b8470a6
feat: add support for social media cards (#130) 1 year ago
Óscar 78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2 years ago
Óscar f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 2 years ago
Steven Roose b58225a012
feat(meta): allow hiding the read time indication on pages (#124)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2 years ago
welpo e72a8da596
💄 style: add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, befor adding "…".

Partially reverts f03a9b3.
2 years ago
Óscar b73f7f5d93
feat(HTML): respect `external_links_…` config (#126) 2 years ago
Óscar 9c3e5d3990
🐛 fix(home-banner): allow missing image & correct spacing (#123)
Also removes the necessity for $BASE_URL in specifying home banner images.
2 years ago
welpo 7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
2 years ago
Steven Roose c99cf940a7
🐛fix(format_date): actually use `short_date_format` (#119) 2 years ago
Óscar ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2 years ago
welpo 99f6f2dcdc
feat(footer): add link to remote repository
Adds two options, both defaulting to true if the remote repo URL is set:
* `show_remote_changes`: links the commit history of a post next to the updated date. (#109)
* `show_remote_source`: links to the site's repository on the footer.
2 years ago
welpo fe872a7b54
🐛 fix: check proper `toc_ignore_pattern` 2 years ago
welpo f03a9b3c4f
💄 style: standardise posts' summary & description
* Cleans up newlines and html tags.

* Removes ellipsis from summary.
2 years ago
welpo b5fae83f28
feat: add support for remote codeberg repositories
Builds on #109
2 years ago
welpo 6178e8e642
✏️ fix: update bug report link format 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 965af4b3dd
feat: add `toc_levels` to control ToC depth 2 years ago
welpo 09e5bc1aa3
🚸 feat: add JavaScript notice for comments 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 05a6d15455
feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2 years ago
welpo 5993e950c7
feat: add support for giscus and utterances 2 years ago
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 93c8b577b8
🚧 feat: add utterances support 2 years ago
welpo eded835d3f
🐛 fix: avoid empty dates when long_date_format is empty 2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2 years ago
welpo 7aa61422a8
✏️ fix: properly end macro 2 years ago
welpo 8b5726c34e
️ feat: set width and height of project images 2 years ago
welpo 369fa9700a
💄 style: add link to project images 2 years ago
welpo 10b85257cd
🔥 refactor: remove metadata in project files 2 years ago
welpo 8ff86b17fc
🐛 fix: check `short` value before using config date format
Added a check for whether short is true or false, rather than just
checking if it exists. This ensures that if short is set to false,
it will still use the long date format if it's available.
♻️ refactor: move the conditional around the date output, so it only
needs to check `short` once
2 years ago
welpo 9887fb0a6f
feat: allow dual date-format (short/long) 2 years ago
welpo ac0495ea69
🐛 fix: remove newlines around `<title>` from source code 2 years ago
welpo 50b8d5fc7b
️ fix: improve accessibility in lists & taps 2 years ago
welpo dc64e2589d
💄 style: wrap post description in `<p>` 2 years ago
welpo dceceff5fd
♻️ refactor: improve spacing and indentation 2 years ago
welpo 4b18391c18
♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
2 years ago