80 Commits

Author SHA1 Message Date
Óscar
14ccb208cf
🎨 refactor: turn macros into partials & sort CSS (#146) 2023-09-12 21:28:33 +02:00
welpo
cb8069fc6e
⚰️ chore(translate): remove outdated comment (#145) 2023-09-12 21:00:51 +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
9acaba6e35
feat(title): add invert_title_order config option (#142) 2023-09-09 18:31:13 +02:00
Óscar
0055a3613e
️ fix(a11y): update heading tags (#140) 2023-09-09 18:03:09 +02:00
welpo
695e40be70
feat(ToC): implement setting hierarchy for ToC
Related: #128 and #120
2023-09-07 01:59:28 +02:00
Óscar
d53b8470a6
feat: add support for social media cards (#130) 2023-09-06 13:38:52 +02:00
Óscar
78f97e17b4
♻️ refactor(translation): introduce translation macro (#129) 2023-09-01 23:29:11 +02:00
Óscar
f61c9ec309
feat(settings): add hierarchy-based setting overrides (#128) 2023-09-01 14:03:37 +02:00
Steven Roose
b58225a012
feat(meta): allow hiding the read time indication on pages (#124)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-08-31 19:37:09 +02:00
welpo
e72a8da596
💄 style: add "…" when using summary with <!-- more -->
Removes trailing periods, if they exist, befor adding "…".

Partially reverts f03a9b3.
2023-08-30 16:40:47 +02:00
Óscar
b73f7f5d93
feat(HTML): respect external_links_… config (#126) 2023-08-30 01:38:27 +02:00
Óscar
9c3e5d3990
🐛 fix(home-banner): allow missing image & correct spacing (#123)
Also removes the necessity for $BASE_URL in specifying home banner images.
2023-08-29 15:38:51 +02:00
welpo
7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
2023-08-28 18:24:40 +02:00
Steven Roose
c99cf940a7
🐛fix(format_date): actually use short_date_format (#119) 2023-08-28 12:43:09 +02:00
Óscar
ac41bb18f8
feat(quick-navigation): add ToC button (#115) 2023-08-25 15:52:25 +02:00
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.
2023-08-18 21:46:37 +02:00
welpo
fe872a7b54
🐛 fix: check proper toc_ignore_pattern 2023-08-16 02:02:31 +02:00
welpo
f03a9b3c4f
💄 style: standardise posts' summary & description
* Cleans up newlines and html tags.

* Removes ellipsis from summary.
2023-08-15 20:27:30 +02:00
welpo
b5fae83f28
feat: add support for remote codeberg repositories
Builds on #109
2023-08-15 12:58:36 +02:00
welpo
6178e8e642
✏️ fix: update bug report link format 2023-08-15 12:20:45 +02:00
Óscar
0e3a4af49b
feat: add link to commit history on updated articles (#109) 2023-08-15 02:02:23 +02:00
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.
2023-08-14 15:08:22 +02:00
welpo
965af4b3dd
feat: add toc_levels to control ToC depth 2023-08-12 00:06:24 +02:00
welpo
09e5bc1aa3
🚸 feat: add JavaScript notice for comments 2023-07-27 00:42:51 +02:00
welpo
9a98789922
feat: add support for Isso comments 2023-07-26 01:47:26 +02:00
welpo
4b43229d0a
🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
welpo
7924e8206c
feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
welpo
05a6d15455
feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2023-07-16 00:50:07 +02:00
welpo
5993e950c7
feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
welpo
19d120019b
feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
welpo
93c8b577b8
🚧 feat: add utterances support 2023-07-10 21:42:21 +02:00
welpo
eded835d3f
🐛 fix: avoid empty dates when long_date_format is empty 2023-05-23 22:59:47 +02:00
welpo
fa9229377d
feat: add multi-language support 2023-05-22 19:12:03 +02:00
welpo
b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
welpo
7aa61422a8
✏️ fix: properly end macro 2023-04-16 13:42:19 +02:00
welpo
8b5726c34e
️ feat: set width and height of project images 2023-04-16 13:39:08 +02:00
welpo
369fa9700a
💄 style: add link to project images 2023-04-16 02:34:09 +02:00
welpo
10b85257cd
🔥 refactor: remove metadata in project files 2023-04-16 00:47:01 +02:00
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
2023-03-18 02:05:16 +01:00
welpo
9887fb0a6f
feat: allow dual date-format (short/long) 2023-03-10 23:25:54 +01:00
welpo
ac0495ea69
🐛 fix: remove newlines around <title> from source code 2023-03-10 01:25:15 +01:00
welpo
50b8d5fc7b
️ fix: improve accessibility in lists & taps 2023-03-08 00:51:48 +01:00
welpo
dc64e2589d
💄 style: wrap post description in <p> 2023-03-06 11:45:20 +01:00
welpo
dceceff5fd
♻️ refactor: improve spacing and indentation 2023-03-06 00:20:31 +01:00
welpo
4b18391c18
♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
2023-03-06 00:07:41 +01:00
welpo
cd2ab356be
💄 style: redesign post listing and other minor changes 2023-03-05 19:58:19 +01:00
welpo
8ac1894a66
💄 style: redesign tag pages 2023-03-05 19:52:51 +01:00
welpo
7605ccaf54
♻️ refactor: use consistent pagination 2023-03-05 19:51:20 +01:00
welpo
b33a942766
💄 style: use cards/boxes for tag list 2023-03-01 00:57:44 +01:00