Overview
The LessOrMore theme is a Jekyll framework for creating a simple and clean blog. The style of the theme is based on the official Less website, with the JavaScript being restructured and Jekyll syntax added. The theme has been optimized for cross-platform browsing and readability. The author expresses gratitude to the creators of Less, Github, Jekyll, and Solar for their contributions to the development and maintenance of the theme. The theme also supports three types of analytics: Baidu, Revolvermaps, and Bu’zhanzi.
Features
- Based on the style of the official Less website
- Restructured JavaScript and added Jekyll syntax
- Optimized for cross-platform browsing
- Supports Baidu, Revolvermaps, and Bu’zhanzi analytics
Installation
To install the LessOrMore theme, follow these steps:
- Download the theme from the LessOrMore homepage using git.
- Configure the only required file,
_config.yml
, by opening it and making the following modifications:- Set the
baseurl
configuration. If the project is a*.github.io
project, leave it empty.
- Set the
- Statistics:
- Baidu: Apply for a Baidu statistics ID on the Baidu statistics website and replace
baidu_analysis
in the_config.yml
file. - Revolvermaps: Apply for a statistics ID on the Revolvermaps website and replace
revolvermaps
in the_config.yml
file. - Bu’zhanzi: No modification is required. The statistics will automatically recognize the domain name.
- Baidu: Apply for a Baidu statistics ID on the Baidu statistics website and replace
- Writing articles:
- Create a new file in the
LessOrMore/_posts
directory and paste the necessary information. - Modify the
title
,date
,categories
, andtag
information. - Add a table of contents by including
* content {:toc}
before the main content. - Write the content using regular Markdown syntax, with at least 2 lines of empty space between the table of contents and the main content.
- Create a new file in the
- Execute the theme by opening a browser and entering
http://localhost:4000/
.
Summary
The LessOrMore theme is a Jekyll framework designed to provide a simple and clean blog style. It is based on the official Less website and has been optimized for cross-platform browsing. The theme supports various analytics options and provides a guide for installation and article writing. The author created the theme after searching for a suitable design for their own blog and believes it to be the best fit for their purposes. The theme is highly recommended for those seeking a minimalistic blog theme.