一款jekyll主题,简洁纯净,支持自适应,支持夜间模式
This is an introduction to the Language theme, a Jekyll theme that is simple, lightweight, and fast. It does not use any frameworks and has a minimal resource request of less than 20KB. The theme supports responsiveness, full-text search, and a dark mode. To see the theme in action, you can visit the TMaize Blog. The theme is compatible with JetBrains’ development tools and has a code highlighting color scheme for night mode. To run the theme locally, you will need to install the Ruby environment and dependencies.
To run the Language theme locally, follow these steps:
Install the Ruby environment and dependencies. If you are using Windows, it is recommended to install Ruby in WSL (Windows Subsystem for Linux) by running the command apt install build-essential ruby ruby-dev
.
Clone the project from GitHub and navigate to its directory:
git clone [GitHub URL]
cd [project directory]
[command]
[command]
Configure the project by modifying the files:
Clear the contents of the “posts” and “_posts” directories. Make sure to only clear the files, not delete the directories themselves.
Replace the logo and favicon of the website by placing them in the “static/img/” directory. The size doesn’t matter, but the aspect ratio should be 1:1.
If you have forked the project and want to remove the commit history, use the following command:
[command]
[article content]
Note: Ignore any prompts about missing resources while writing the article.
The Language theme is a minimalistic Jekyll theme that offers simplicity, speed, and responsiveness. With its small resource request, it provides a fast loading experience. It also supports full-text search and a dark mode. The installation process requires setting up the Ruby environment and modifying configuration files to customize the theme. Overall, the Language theme is a lightweight and versatile option for creating a blog or website.