Using original
```
cat file.txt | while read line; do
echo $line
done
```
is problematic, because changing variables inside the loop are lost outside. Example:
```
count=0
cat file.txt | while read line; do
count=$(( count+1 ))
echo $count":"$line
done
echo "total:"$count
```
outputs to
```
total:0
```
- Added structured data support to optimize SEO performance for the homepage and article pages.
- Added an SEO enhancement script to generate more detailed page descriptions and relevant keywords.
- Added title attributes to links in multiple layout files to improve accessibility and SEO.
- Updated the configuration file to add new excluded domains.
- Improved the readability and user experience of various sections on the page.
- Add language attributes in layout files
- Update the content-language meta tag in header files
- Introduce a custom clean_url helper to clean up URLs
- Update SEO scripts to ensure preview images display correctly
Mobile improvements:
- Fix content overflow issues on mobile devices
- Optimize code blocks and tables for small screens
- Add proper word-wrapping and container constraints
Dark mode enhancements:
- Replace icons with modern sun/moon designs
- Implement smooth icon switching with CSS transitions
- Simplify toggle logic for better performance
Resolves mobile layout issues and enhances theme switching experience
- Fix markdown-it-highlightjs configuration for Hexo 7.0+
- Create custom highlight.js instance to handle unknown languages gracefully
- Eliminate 'Could not find language' warning messages
- Upgrade ESLint to v9 with flat config format
- Update Fuse.js from 6.4.6 to 7.1.0
- Update multiple dependencies to latest versions
Technical changes:
- Set syntax_highlighter to empty in _config.yml
- Add langPrefix: 'hljs language-' configuration
- Migrate ESLint to eslint.config.js (flat config)
- Update Service Worker for new Fuse.js version