纯文本风格Jekyll博客主题,基于rigggraz的no_style_please,具有基于分类的树形结构,可系统地组织关于不同主题的文章,支持手动索引外部平台的内容,可将你的全部创作统一整合为一个网站。
- 继承
- 极简且克制的设计风格,适合主要专注于文本内容的网站
- 动态明暗主题
- 改进
- 配色方案改为低饱和度、低对比度的风格
- 表格自适应与隔行变色
- 综合发布时间与修改时间的智能博文排序
- PWA支持
- 自托管的中文webfont(仅限完整版)
flowchart LR
A[创建仓库] --> A1[下载模板ZIP包] --> A2[解压到本地] --> C
B[使用本仓库作为模板]--> B1[删除远程分支] --> B2[拉取仓库到本地] --> C
C[按需修改] --> C1[选择部署方式] --> C2[推送修改到仓库]
- 方法一
- 登录 GitHub,用本仓库作为模板创建一个名为
你的用户名.github.io的仓库,勾选Include all branches并创建 - 访问
https://github.com/你的用户名/你的用户名.github.io/branches,将gh-pages设为默认分支,删除main和lite分支。 - 使用 git 工具将仓库拉取到本地
- 登录 GitHub,用本仓库作为模板创建一个名为
- 方法二
- 编辑
_config.yml文件,修改title、description、author等基本信息。设置remote_theme启用对应分支:- 完整版:
remote_theme: feeshy/less-style-please- 体积约 15 MB,内置了霞鹜文楷和思源宋体的 webfont
- 适合对中文字重有较高要求的站点(主要影响宋体类帖子的标题层级、加粗等格式)
- 精简版:
remote_theme: feeshy/less-style-please@lite- 体积约 2.6 MB,相比完整版去除了中文 webfont
- 以牺牲中文显示效果为代价,大幅度降低流量消耗、提升载入速度。
- 完整版:
- 将
general、literature目录重命名为符合你需求的文章分类(也可自行创建更多分类),在每个分类的_posts目录中添加或修改文章 - 编辑
_data/menu.yml,设置站点首页的树形层级 - 详细使用方法请参阅wiki https://github.com/feeshy/less-style-please/wiki/
网页访问你的仓库,进入 Settings → Pages → Build and deployment,选择通过 GitHub Actions 部署
完成以上配置后,推送代码到对应分支,GitHub Pages 会自动构建并发布你的站点。
A pure text Jekyll blog theme forked from rigggraz's no_style_please, with a category-based tree structure for systematically organizing articles on diverse topics, and the ability to manually index external content to consolidate your entire content ecosystem into one single website.
- What Are Kept
- Minimalist and reserved design style, ideal for pure text websites
- Adaptive light and dark theme
- What Are Changed
- Low-saturated color palette for both light and dark themes
- Rowing color grades for tables
- Intelligent Post Sorting Based on Publication and Modification Dates
- PWA Ready
- Self hosting web fonts for Simplified Chinese
flowchart TD
A[Create a repo] --> A1[Download the template] --> A2[Extract locally] --> C
B[Use this repo as template]--> B1[Delete remote branches] --> B2[Pull repository locally] --> C
C[Modify on your need] --> C1[Select deployment method] --> C2[Push changes to github]
-
Method 1
- Log in to GitHub, use this template to create a repository named as
your-username.github.io, checkInclude all branches, and click Create. - Visit
https://github.com/your-username/your-username.github.io/branches, setgh-pagesas the default branch, and delete themainandlitebranches. - Use git tools to pull the repository to your local machine.
- Log in to GitHub, use this template to create a repository named as
-
Method 2
- Log in to GitHub, create a new repository, and name it
your-username.github.io. - Download the theme template ZIP file.
- Extract the ZIP file.
- Log in to GitHub, create a new repository, and name it
- Edit the
_config.ymlfile to modify basic information such astitle,description, andauthor. Setremote_themeto enable the corresponding branch:- Full Version:
remote_theme: feeshy/less-style-please- Approx. 15 MB, with built-in Chinese webfonts for 霞鹜文楷 and 思源宋体.
- Suitable for sites with higher requirements for Chinese font weights (mainly affects heading levels, bolding, and other formatting in Serif-styled posts).
- Lite Version:
remote_theme: feeshy/less-style-please@lite👈 recommend for non-Chinese writers- Approx. 2.6 MB, removing the Chinese webfonts compared to the full version.
- Significantly reduces traffic consumption and improves loading speed at the expense of Chinese display quality.
- Full Version:
- Rename the
generalandliteraturedirectories to post categories that meet your needs (you can also create more categories yourself), and add or modify posts in the_postsdirectory of each category. - Edit
_data/menu.ymlto set the tree hierarchy for the site's homepage. - For detailed instructions, please refer to the wiki https://github.com/feeshy/less-style-please/wiki/
Visit your repository on the web, go to Settings → Pages → Build and deployment, and select to deploy via GitHub Actions.
After completing the above configurations, push the code to the corresponding branch, and GitHub Pages will automatically build and deploy your static site.
- 中文
- English
