Óscar
6f269eee4a
✨ feat(templates): introduce info-page template ( #147 )
2023-09-13 01:38:25 +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
355df550fc
🐛 fix: allow live reload when zola is in serve
mode ( #144 )
2023-09-09 22:50:53 +02:00
Óscar
772ca29dcd
✨ feat: add browser_theme_color
config option ( #143 )
2023-09-09 19:48:53 +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
Xavier Vello
c79407e6d7
🐛 fix(header): don't fail if custom_subset absent ( #132 )
2023-09-09 12:10:18 +02:00
welpo
695e40be70
✨ feat(ToC): implement setting hierarchy for ToC
...
Related: #128 and #120
2023-09-07 01:59:28 +02:00
welpo
22579a5974
✨ feat(social-media-cards): add support for twitter:image
...
Related PR: #130
2023-09-06 18:49:37 +02:00
welpo
3cf9e3ad8d
✨ feat(multilingual-quote): allow missing author
2023-09-06 14:54:08 +02:00
Óscar
d53b8470a6
✨ feat: add support for social media cards ( #130 )
2023-09-06 13:38:52 +02:00
welpo
ab4b523f9c
🐛 fix(favicon): use get_url
for favicon
2023-09-01 23:50:52 +02:00
Óscar
78f97e17b4
♻️ refactor(translation): introduce translation macro ( #129 )
2023-09-01 23:29:11 +02:00
welpo
3344f80539
🚑 ️ fix(footer): render footer again
...
#128 broke it.
2023-09-01 14:38:46 +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
0c87f6513b
💄 style(meta): add "…" when using summary with <!-- more -->
...
Removes trailing periods, if they exist, before adding "…".
Partially reverts f03a9b3.
2023-08-31 03:34:33 +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
fac730efad
✨ feat(config): add dynamic stylesheet loading ( #118 )
2023-08-26 15:07:21 +02:00
Óscar
1c3db86b75
✨ feat(image shortcodes): add lazy loading ( #116 )
...
Additionally sets the `alt` parameters as optional and cleans HTML output.
2023-08-26 01:57:19 +02:00
Óscar
ac41bb18f8
✨ feat(quick-navigation): add ToC button ( #115 )
2023-08-25 15:52:25 +02:00
welpo
36a9bac765
♿ ️chore(theme-switcher): show tooltip when hovering over icon
2023-08-25 01:53:24 +02:00
Óscar
151063d74b
✨ feat(shortcode): add spoiler shortcode ( #113 )
2023-08-24 14:27:33 +02:00
welpo
f1edbba8bd
✨ feat(footer/copyright): replace "$SEPARATOR" to separator
...
Expands on #112
2023-08-19 01:26:27 +02:00
welpo
12b9184f15
🐛 fix(footer): remove extra space between "tabi" and separator
2023-08-18 23:28:32 +02:00
Óscar
5ae21b5335
✨ feat(footer): add configurable copyright notice ( #112 )
2023-08-18 23:12:39 +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
427ffc7241
✨ feat(footer/socials): add base64 encoded email protection
2023-08-18 18:39:24 +02:00
welpo
d0babd5db1
♻️ refactor: use get_url
for social icons
2023-08-17 21:03:41 +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
fb0dea0106
✨ feat: add wide container shortcode
2023-08-11 23:36:59 +02:00
welpo
4952ce88f1
✨ feat: add rel=me
attribute to social links
...
http://microformats.org/wiki/rel-me
2023-08-11 01:55:46 +02:00
welpo
5250576744
💡 chore: add comments explaining use of get_random
2023-08-10 17:26:39 +02:00
Óscar
f8cce3001c
✨ feat: introduce skins to customise the theme ( #105 )
2023-08-10 13:21:52 +02:00
welpo
2f83ef8062
⚡ ️ feat: add cachebust
for main.css
2023-08-09 18:53:45 +02:00
welpo
638d75c819
🐛 fix: set proper color-scheme meta
2023-08-09 18:45:16 +02:00
welpo
7ccd71736e
✨ feat: add 2 interactive image shortcodes
...
- `image_hover` changes image on mouse hover.
- `image_toggler` swaps image on click.
2023-08-09 18:36:45 +02:00
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.
2023-08-08 00:47:24 +02:00