143 Commits (8e1acdbba235dc99b712585be5d5053689dfe562)

Author SHA1 Message Date
Óscar Fernández a7044d2d8a
️ feat(fonts): optimise font size (#186) 1 year ago
Óscar Fernández 2c6ac293ad
️ fix: improve accessibility and i18n (#183) 1 year ago
welpo 28fb52581f
feat(social-icons): add Matrix icon 1 year ago
welpo 1bac809096
🔍️ chore(SEO): update social media cards 1 year ago
Óscar Fernández Vázquez 99b8972cf6
📝 docs: add guide to all of tabi's features (#169) 1 year ago
welpo b797879403
🍱 feat(social-icons): add X icon 1 year ago
welpo 47c493be89
🐛 fix(isso-comments): actually set maxCommentsNested 1 year ago
welpo b26902da16
🔍️ fix(SEO): set proper social image cards 1 year ago
welpo cfa9f9d432
🚑️ chore: update social media cards 1 year ago
Óscar 5a2161f529
feat: allow internal project links (#157) 1 year ago
welpo d9eb641caf
📝 chore(about): update personal page link to matching language 1 year ago
Óscar 1c87b96ac1
feat(header): add img_alt attribute for customisable alt text (#153) 1 year ago
welpo f1d92a73ce
📝 chore: update screenshots 1 year ago
Óscar 6f269eee4a
feat(templates): introduce info-page template (#147) 1 year ago
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
welpo 1efb0330e3
🐛 fix: remove flash when navigating in dark-mode
The `initialize-theme.js` script takes care of the following:

  1. If there is a stored theme value in the localStorage, set the theme
 based on that value.
  2. If there is no stored theme value, check the  user's system
  preference (dark or light) and set the theme accordingly.

The new `main.js` takes care of the actual theme switching and listening
to system preference changes (if the user has not manually set a theme).

Now the icons are stored in CSS, and are set according to the current
theme. This allows for having different icons that dynamically switch.

Additionally, wraps social and navigation elements in ul/li.

Fixes #76
2 years ago
welpo eb63718bbf
🚚 refactor: rename minified KaTeX css 2 years ago
welpo 18cab7d37c
🍱 style: update project images 2 years ago
welpo 77dc2be14b
🍱 style: update project images 2 years ago
welpo e422c405cb
📝 docs: lowercase 'tabi' 2 years ago
welpo 698d4ebf74
🍱 style: greater resolution 2 years ago
welpo b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2 years ago
welpo 35cea7222c
🍱 docs: update `nani` image 2 years ago
welpo a2ea8c3f88
📝 docs: update projects 2 years ago
welpo f9335b3fa4
feat: add KaTeX support 2 years ago
welpo 38a38fa606
💄 style: Promise I will never go blonde like Kanye⁉️ 2 years ago
welpo b3dc5396b4
feat: add dual image support for switching themes 2 years ago
Óscar 586b5617b2
Merge pull request #39 from welpo/feature/default-theme-switcher
Change default theme to OS default; listen to OS default theme changes and switch accordingly (as long as there's no user preference set)
2 years ago
welpo 9a1f5db45c
feat: listen for changes on OS theme to switch accordingly
As long as the visitor has not changed the default theme, the site will
change between dark and light themes matching the OS setting.
2 years ago
serginogal 2f80b0b5ad feat: clean js code 2 years ago
welpo bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2 years ago
welpo af80aef00c
feat: change default theme to OS default
Update the theme switcher code to set the default theme to the OS
default, rather than the "light" theme. This provides a more seamless
user experience for users whose OS is set to a dark mode. The current
theme setting in local storage will still be respected if present. This
change was made to improve the accessibility and usability.

Fixes #38
2 years ago
welpo 84b4469b07
️ improvement: switch from webp to svg icons
Saves a bit of space :)
2 years ago
welpo bd0dbaab1a
️ improvement: use webp instead of png 2 years ago
welpo 7a69759112
🍱 improvement: use webp instead of png 2 years ago
welpo d412eae7df
💄 style: set Cascadia Code as code font
Modifies the markdown file to showcase the font's ligatures.
2 years ago
welpo ce2cf4d056
💄 style: use serif font in body
Also increases the size of the subheader in main page (cards), and
reduces the font weight of links.
2 years ago
welpo 2f4695dd0b
feat: showcase invertable image 2 years ago
welpo 6783ff6e49
🚚 style: move main image to static path 2 years ago
welpo 722d493a9a
💄 style: default light mode 2 years ago
welpo 339f818cfb 🐛 fix: remove duplicate social images; allow relative paths in socials
- Remove duplicate files in social_icons folder
- Allow relative paths in socials section (footer)
- Add more socials in default config
2 years ago
welpo ec51960eeb Remove .DS_Store 2 years ago
welpo 57ea76111e Improve inline code blocks contrast & remove border
Also removes .DS_Store from static/
2 years ago
welpo 0b117d1641 first commit 2 years ago