96 Commits

Author SHA1 Message Date
Óscar
36e53dc646
feat: add pinned posts functionality (#424) 2024-11-13 18:07:46 +01:00
ZzMzaw
0253799f23
feat: add series functionality (#406)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-11-08 00:01:30 +01:00
Óscar
0bebcd1c6d
🐛 fix: allow pages within pages (#385) 2024-09-18 00:06:02 +02:00
Arnold Loubriat
ce3be5c007
️ fix: add missing quotes to HTML attributes (#367) 2024-08-23 20:54:13 +02:00
sam
5db006ac47
🐛 fix(post_listing_date): show original date for unedited articles (#355) 2024-07-14 16:35:17 +02:00
sam
a76d6888b6
feat: add date visibility options to post list (#330)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-07-11 23:19:14 +02:00
welpo
22925caf06
🐛 fix: allow quotation in page summary
Quotation marks were being escaped, as the `safe` filter was not being used.
2024-05-30 14:12:44 +02:00
Martijn Faassen
f5f195c90c
♻️ refactor: improve settings hierarchy performance (#325) 2024-05-30 14:02:34 +02:00
Óscar
9d49a65354
feat: add option to show author in post metadata (#322) 2024-05-27 02:16:03 +02:00
Daniel Kessler
9249d9fbbe
🐛 fix: link 'All posts' to proper section (#295)
Co-authored-by: Daniel Kessler (a.k.a. Dalker) <daniel.kessler@dalker.org>
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-04-18 14:58:50 +02:00
Mohammed Alotaibi
c4893d4fdd
feat(i18n): implement pluralization logic (#277)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-02-16 15:41:25 +01:00
Mohammed Alotaibi
b3ef23f305
🐛 fix(i18n): reverse arrows in RTL languages (#272)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2024-02-12 18:46:48 +01:00
welpo
6673a063b8
🐛 fix: remove unnecessary description filters
It caused issues if description contained double quotes.
2023-10-23 02:11:57 +02:00
Xavier Vello
40df48fd87
feat(list_posts.html): display draft status in post list (#203)
Co-authored-by: welpo <welpo@users.noreply.github.com>
2023-10-14 00:55:00 +02:00
welpo
5458b1c533
🎨 style: fix whitespace issues 2023-10-07 23:31:59 +02:00
welpo
2e34e7e897
🐛 fix (format_date): set %-d %b %Y default
Documentation was inaccurate.
2023-09-18 00:14:28 +02:00
Ó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