Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.01 KB

README.zh-CN.md

File metadata and controls

55 lines (40 loc) · 1.01 KB

hexo-theme-leedom

简体中文 | English

简介

一个仿照尤雨溪博客的简洁的Hexo主题。该主题参考了Hexo-Theme-Oranges,样式则是基于尤雨溪的博客

我的博客

传送门

安装

hexo-site 是你的 hexo 项目的根目录

克隆整个存储库:

cd hexo-site
git clone https://github.com/leedom92/hexo-theme-leedom.git themes/leedom

或者通过npm安装:

cd hexo-site
npm i hexo-theme-leedom

用法

在项目根目录下的_config.yml文件中,编辑themeleedom

theme: leedom

配置

在根目录下的 _config.yml 添加或编辑以下配置:

search:
  path: search.xml
  field: post
  content: true

themes/leedom/_config.yml 编辑配置:

search:
  enable: true
  placeholder: 搜索

License

MIT