Commit Graph

578 Commits (6f269eee4af079966f7b7912370be884e83e5de5)
 

Author SHA1 Message Date
Óscar 6f269eee4a
feat(templates): introduce info-page template ()
welpo 355162ebe1
💄 style(sans-serif): slightly increase bold weight
Partially reverts bcc3f83
Óscar 14ccb208cf
🎨 refactor: turn macros into partials & sort CSS ()
welpo cc029d0b19
🔍️ chore(SEO): update social media cards
welpo cb8069fc6e
⚰️ chore(translate): remove outdated comment ()
welpo bcc3f83d85
💄 style: reduce bold text font weight on sans-serif
Stays the same for articles (serif).
Óscar 32a2d5094b
🌐 feat(i18n): overhaul translation system & add languages ()
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.
welpo 327545f2d5
💄 style(code blocks): harmonise highlight colour
Should've been done in 
welpo 0a61bd3405
💄 style(code tags): set border radius to inline code
Improves cohesion with the rest of the theme.
Óscar 355df550fc
🐛 fix: allow live reload when zola is in `serve` mode ()
Óscar 772ca29dcd
feat: add `browser_theme_color` config option ()
Óscar 9acaba6e35
feat(title): add `invert_title_order` config option ()
Óscar 0055a3613e
️ fix(a11y): update heading tags ()
Xavier Vello c79407e6d7
🐛 fix(header): don't fail if custom_subset absent ()
welpo d6aaa7651f
️ revert: too soon
Refs: 3f2e456
welpo 3f2e45601a
🐛 docs(ToC): fix broken code block
welpo 695e40be70
feat(ToC): implement setting hierarchy for ToC
Related:  and 
Óscar d6a5b1ab93
💄 style(code blocks): change syntax highlighting theme & text size ()
📝 docs: remove opening and closing +++ in TOML codeblocks
welpo 22579a5974
feat(social-media-cards): add support for twitter:image
Related PR: 
welpo 3cf9e3ad8d
feat(multilingual-quote): allow missing author
Óscar d53b8470a6
feat: add support for social media cards ()
welpo ab4b523f9c
🐛 fix(favicon): use `get_url` for favicon
Óscar 78f97e17b4
♻️ refactor(translation): introduce translation macro ()
welpo 3344f80539
🚑️ fix(footer): render footer again
 broke it.
Óscar f61c9ec309
feat(settings): add hierarchy-based setting overrides ()
Steven Roose b58225a012
feat(meta): allow hiding the read time indication on pages ()
Co-authored-by: welpo <welpo@users.noreply.github.com>
welpo 0c87f6513b
💄 style(meta): add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, before adding "…".

Partially reverts f03a9b3.
welpo e72a8da596
💄 style: add "…" when using summary with `<!-- more -->`
Removes trailing periods, if they exist, befor adding "…".

Partially reverts f03a9b3.
welpo 718f477949
💄 style(quick-navigation): reduce max-height for ToC
Óscar a1378fe16b
🔧 refactor(theme.toml) set sane defaults ()
Óscar b73f7f5d93
feat(HTML): respect `external_links_…` config ()
Óscar 9c3e5d3990
🐛 fix(home-banner): allow missing image & correct spacing ()
Also removes the necessity for $BASE_URL in specifying home banner images.
welpo 7d8ed20c24
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
welpo f57f3138c2
📝 docs(config): clarify default short date format
Steven Roose 3969504864
📝 docs(README): add link to Table of Contents documentation ()
Steven Roose c99cf940a7
🐛fix(format_date): actually use `short_date_format` ()
welpo 9f74868c72
💄style(isso): align buttons and input & cleanup
welpo 1adf2423f3
💄style: use divider-color for <hr> & remove border-color
welpo 85fe38f815
💄style(isso): clean isso styles & use CSS variables
welpo 95a35fceb6
🔥chore(css): remove duplicated hr declaration
Óscar fac730efad
feat(config): add dynamic stylesheet loading ()
Óscar 1c3db86b75
feat(image shortcodes): add lazy loading ()
Additionally sets the `alt` parameters as optional and cleans HTML output.
welpo 1be3fa886c
💄style: stylise scrollbar based on site's color scheme
See  and 
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 
Óscar ac41bb18f8
feat(quick-navigation): add ToC button ()
welpo f8f2967527
🔥chore(tags): remove unused CSS
welpo 8b091ba7e9
💄style(projects): cleaner shadow
welpo 36a9bac765
️chore(theme-switcher): show tooltip when hovering over icon
welpo 09410e32bc
🔥chore: remove duplicated overflow-x declaration
Óscar 151063d74b
feat(shortcode): add spoiler shortcode ()