v4.6.0
I am very excited to announce Hugo theme Toha v4.6.0. This release incorporates some improvements and fixes. Please, read the release note and update your theme to enjoy the new changes.
Thanks to @BernatBC, @KhanbalaRashidov, @deining, @dependabot, @dependabot[bot], @hossainemruz, @joyao, @maiani and @steffenba for their valuable contribution in this release.
Highlights
Better Control over Theme
We have restructured how you set the theme for your site. You can now enable or disable dark/light mode and set a default theme. The theme
section has been introduced, deprecating the darkMode
section. Use the following configuration to control the theme settings for your site:
params:
features:
theme:
light: true # enable light theme. default "true"
dark: true # enable dark theme. default "true"
defaultTheme: light # can be either light, dark or system. default "system"
Thanks to @joyao for contributing this.
Button to copy code
We are making your life little bit easier by adding a copy button to every codeblocks.
You can enable it in your site by adding copyCodeButton
field under params.features
section:
params:
features:
# Enables copy code button
copyCodeButton:
enable: true
Thanks to @BernatBC for contributing this.
Option to filter skills cards
You can now add a category filter in your skill cards. Please, check this sample to enable it.
Thanks to @joyao for contributing this.
Added Azerbaijan language
We are welcoming Azerbaijan to our growing set of languages. Now, the theme is available in 23 different languages. 🎉 Thanks to @KhanbalaRashidov for contributing this.
Changelog
New Features & Enhancements
- Add copy code button (#963) @BernatBC
- Add category filter for skills (#979) @joyao
- Align card texts and tag list to left (#974) @steffenba
- Added default theme (#960) @joyao
- Update hugo version in netlify.toml (#946) @hossainemruz
- Allow for personalized titles for Blog and Note pages (#951) @maiani
- Fix deprecation warnings (#962) @deining
Translations
- Added Azerbaijan language (#975) @KhanbalaRashidov
- Fix zh-tw UI translation (#970) @joyao
- Fix list page card was breaking (#969) @hossainemruz
Bug Fixes
- Fix perfect matching provisionally (#976) @BernatBC
- Change npm package 'flag-icon-css' to 'flag-icons' (#972) @deining
- Fix auto-prefixer workflow (#971) @hossainemruz
- Fix font color of education pages in dark mode (#943) @joyao
- Separate label enforcer job to separate workflow (#982) @hossainemruz
Dependency Update
- Bump dompurify and mermaid (#977) @dependabot
- Update node version in 'autoprefixer.yml' workflow (#964) @deining
- Bump braces from 3.0.2 to 3.0.3 (#950) @dependabot
- Bump peter-evans/create-pull-request from 6 to 7 (#967) @dependabot
- Bump actions/checkout from 4.1.6 to 4.1.7 (#949) @dependabot
- Bump actions/checkout from 4.1.5 to 4.1.6 (#940) @dependabot
This release note has been generated automatically by Release Drafter.