79 Commits (355162ebe1d470373bcc40ea0f18c00cfdfb52d8)

Author SHA1 Message Date
welpo cc029d0b19
🔍️ chore(SEO): update social media cards 1 year ago
Ó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
Ó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 9f74868c72
💄style(isso): align buttons and input & cleanup 2 years ago
welpo 85fe38f815
💄style(isso): clean isso styles & use CSS variables 2 years ago
welpo 427ffc7241
feat(footer/socials): add base64 encoded email protection 2 years ago
welpo 68e37f4574
🐛 fix(styled feed): url to "Visit Website"
Before this, it was linking to the own feed.
Now it links to the homepage of the corresponding language.
2 years ago
welpo 725101300e
️ refactor(utterances): further minify JS 2 years ago
welpo 6abb756d88
📸 chore: update mint screenshots to match the rest 2 years ago
Óscar f8cce3001c
feat: introduce skins to customise the theme (#105) 2 years ago
welpo 9ad08838c7
🐛 fix: add missing images for new shortcodes 2 years ago
welpo c53ecdc472
🔥 style: remove dark primary colour variable 2 years ago
welpo 113a7f4e5d
feat(theme-switcher): hide button if JS is disabled 2 years ago
welpo a4e48b48fd
💡 chore: add comments 2 years ago
welpo 92e6af1d58
️ refactor: further minify theme initialization 2 years ago
Óscar 5cdc18e688
feat: add backlinks to footnotes (#101) 2 years ago
welpo b2ca636eb9
🐛 fix: correct CSS path for GitHub pages 2 years ago
Óscar 32b1177140
♻️ refactor: improve stylised feed translations & consolidate XSL/CSS loading (#98) 2 years ago
welpo 86ab1c5f06
🐛 fix: path to main.css 2 years ago
welpo e7bd988a52
🐛 fix: use relative path to main.css 2 years ago
welpo 7ed295db3a
💬 refactor: translate xsl stylesheets 2 years ago
smtbook e7dc5eb44e
fix: multilingual issues in feeds and 'nav.html' 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo e1dfd2ea07
🐛 fix: properly initialise `currentTheme`
The `currentTheme` variable is now properly initialized when setting
the initial theme, which fixes the "extra click" issue observed when system preference
is `dark` and there's no saved theme in localStorage.

Also minifies the themeSwitcher.

Fixes #94
2 years ago
welpo 4b43229d0a
🚚 chore(js): rename minified files 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 5993e950c7
feat: add support for giscus and utterances 2 years ago
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 93c8b577b8
🚧 feat: add utterances support 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo 8e1473bba9
🚧 feat: add basic copy button to codeblocks 2 years ago
welpo fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2 years ago
welpo a6dfd4d1ba
🐛 fix: remove leading slash from css href 2 years ago
welpo eb8f630fde
💄 style: smaller title and "Recent Posts" text 2 years ago
welpo 0494a54f57
💄 style: add styling to infobox 2 years ago
welpo fc591f549c
💄 style: add title suffix & reduce RSS icon size 2 years ago
welpo 1b60be8c9d
🚧 feat: style xml feed 2 years ago
welpo ab29511d5e
feat: add multilingual quote shortcode 2 years ago
Óscar 90d7188787
Merge branch 'main' into feat/multilingual-support 2 years ago
welpo fb061a1469
feat: allow using emojis as favicon 🌱 2 years ago
welpo 534969de11
feat: include layout features in font subset 2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo 67aad3ef74
💄 style: standarise font rendering across browsers
Use Source Serif ttf instead of otf for proper font rendering in Chromium.

Use Cascadia Code SemiLight to reduce filesize.
2 years ago
welpo 526c8a1e67
♻️ refactor: simplify theme switching logic
🐛 fix: ensure currentTheme is initialized correctly
2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
welpo 1c06c99047
⬆️ feat(fonts): use woff2 & update fonts
⬆️ Update Source Serif to latest version
 Update Inter font to v4 beta
📸 Update screenshots to reflect font changes
2 years ago
welpo 0c8e0d228c
🚚 refactor: rename katex minified css 2 years ago
welpo 9512bbb194
♻️ refactor: use `const` in theme initialization
Refactor the theme initialization script to use 'const' instead of 'let'
for the 'currentTheme' variable, as the value is not expected to change
after initialization.

This makes the code more clear and prevents accidental
re-assignment.
2 years ago