Tw93.github.io
Theme by
Tw93 |Updated:
16 Feb 2025
|163 Stars
Tw93 的个人博客
Categories
Overview
Tw93.fun is a front-end technology blog created by Tw93. It is primarily used to record and research front-end technology, while also staying updated on new technology and new ideas. The blog theme used for this website is called cosy-jekyll-theme, also created by Tw93.
Features
- Responsive Design: cosy-jekyll-theme provides a responsive blog template that ensures a pleasant reading experience across different devices.
- Optimized Performance: The theme does not rely on jQuery or other unnecessary resources, resulting in a faster and more efficient website.
- Modern and Minimal Design: The theme has a clean and minimalistic design, making it more concise and visually appealing compared to other Jekyll themes.
- Selective Resource Loading: Resources are loaded selectively based on the platform, allowing for optimized performance on each device.
- Lazyload Support: The theme supports lazyloading, improving the loading speed of the website.
- JavaScript and CSS Compression: JavaScript and CSS files are compressed for reduced file sizes and improved performance.
- Geeky Elements: The use of SVG and Canvas adds a geeky touch to the blog.
- QR Code for Mobile: When accessing the website from a PC, a QR code is displayed for easy access on mobile devices.
- Full-Screen Zoom for Images: In articles where images are too complex to see clearly, they can be zoomed in to full-screen for better visibility.
- Custom 404 Page: The theme includes a fun custom 404 page for error handling.
- China-Friendly: The theme drops Google webfont and uses proxy webfont, as well as delaying the loading of non-essential resources, making it more suitable for users in China.
- Discus Error Handling: In case Discus fails to load, the theme provides a good suggestion for handling the issue.
- WeChat Payment Integration: The theme includes an option to add a “buy me a coffee” feature using WeChat payment.
Installation
To use the cosy-jekyll-theme, follow these steps:
- Fork the repository.
- Clone the repository to your local machine using the command:
$ git clone git@github.com:username/reponame.git
- Install bundler with the command:
$ gem install bundler
- Install gems by running:
$ bundle install
- Run Jekyll using:
$ npm run dev
- Start customizing the theme by modifying the
about.md
and _config.yml
files.
For more detailed instructions, refer to the documentation.
Summary
Tw93.fun is a front-end technology blog that utilizes the cosy-jekyll-theme for its design. The theme offers a range of features to enhance the website’s performance and user experience. With its responsive design, minimalistic look, and various optimizations, the cosy-jekyll-theme provides a good reading experience while prioritizing speed and efficiency. Additionally, the theme includes unique features such as geeks elements, QR code access on mobile, and WeChat payment integration.