Ó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
welpo
327545f2d5
💄 style(code blocks): harmonise highlight colour
...
Should've been done in #131
1 year ago
welpo
0a61bd3405
💄 style(code tags): set border radius to inline code
...
Improves cohesion with the rest of the theme.
1 year ago
Óscar
355df550fc
🐛 fix: allow live reload when zola is in `serve` mode ( #144 )
1 year ago
Óscar
772ca29dcd
✨ feat: add `browser_theme_color` config option ( #143 )
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
Xavier Vello
c79407e6d7
🐛 fix(header): don't fail if custom_subset absent ( #132 )
1 year ago
welpo
d6aaa7651f
⏪ ️ revert: too soon
...
Refs: 3f2e456
1 year ago
welpo
3f2e45601a
🐛 docs(ToC): fix broken code block
1 year ago
welpo
695e40be70
✨ feat(ToC): implement setting hierarchy for ToC
...
Related: #128 and #120
1 year ago
Óscar
d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size ( #131 )
...
📝 docs: remove opening and closing +++ in TOML codeblocks
1 year ago
welpo
22579a5974
✨ feat(social-media-cards): add support for twitter:image
...
Related PR: #130
1 year ago
welpo
3cf9e3ad8d
✨ feat(multilingual-quote): allow missing author
1 year ago
Óscar
d53b8470a6
✨ feat: add support for social media cards ( #130 )
1 year ago
welpo
ab4b523f9c
🐛 fix(favicon): use `get_url` for favicon
2 years 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
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
0c87f6513b
💄 style(meta): add "…" when using summary with `<!-- more -->`
...
Removes trailing periods, if they exist, before adding "…".
Partially reverts f03a9b3
.
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
welpo
718f477949
💄 style(quick-navigation): reduce max-height for ToC
2 years ago
Óscar
a1378fe16b
🔧 refactor(theme.toml) set sane defaults ( #127 )
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
welpo
f57f3138c2
📝 docs(config): clarify default short date format
2 years ago
Steven Roose
3969504864
📝 docs(README): add link to Table of Contents documentation ( #121 )
2 years ago
Steven Roose
c99cf940a7
🐛 fix(format_date): actually use `short_date_format` ( #119 )
2 years ago
welpo
9f74868c72
💄 style(isso): align buttons and input & cleanup
2 years ago
welpo
1adf2423f3
💄 style: use divider-color for <hr> & remove border-color
2 years ago
welpo
85fe38f815
💄 style(isso): clean isso styles & use CSS variables
2 years ago
welpo
95a35fceb6
🔥 chore(css): remove duplicated hr declaration
2 years ago
Óscar
fac730efad
✨ feat(config): add dynamic stylesheet loading ( #118 )
2 years ago
Óscar
1c3db86b75
✨ feat(image shortcodes): add lazy loading ( #116 )
...
Additionally sets the `alt` parameters as optional and cleans HTML output.
2 years ago
welpo
1be3fa886c
💄 style: stylise scrollbar based on site's color scheme
...
See #114 and Jieiku/abridge#136
2 years ago
welpo
ce7ac7cf2c
💄 style(codeblocks): unhide scrollbars
...
Not enough people know about Shift+Scroll :(
Plus, if someone doesn't like scrollbars, they can hide them globally.
See #114
2 years ago
Óscar
ac41bb18f8
✨ feat(quick-navigation): add ToC button ( #115 )
2 years ago
welpo
f8f2967527
🔥 chore(tags): remove unused CSS
2 years ago
welpo
8b091ba7e9
💄 style(projects): cleaner shadow
2 years ago
welpo
36a9bac765
♿ ️chore(theme-switcher): show tooltip when hovering over icon
2 years ago
welpo
09410e32bc
🔥 chore: remove duplicated overflow-x declaration
2 years ago
Óscar
151063d74b
✨ feat(shortcode): add spoiler shortcode ( #113 )
2 years ago
welpo
3822f00d3e
♻️ refactor(giscus): move comment box to bottom
2 years ago
welpo
f1edbba8bd
✨ feat(footer/copyright): replace "$SEPARATOR" to `separator`
...
Expands on #112
2 years ago
welpo
12b9184f15
🐛 fix(footer): remove extra space between "tabi" and separator
2 years ago
welpo
c1eda46934
💡 chore(config): add comments to language section
2 years ago
Óscar
5ae21b5335
✨ feat(footer): add configurable copyright notice ( #112 )
2 years ago
welpo
1601fbf30c
✨ feat(pre-commit): sync config.toml and theme.toml [extra]
2 years ago