1 Star 0 Fork 0

walter / hexo-theme-xoxo-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

hexo-theme-xoxo-plus

A hexo them modification based on hexo-theme-xoxo

Demo

新增应用类型

  • 友情链接 links
  • 动态 activity
  • 项目 project
  • paper paper

需要在站点根目录的source目录下建立对应的目录并且添加index.md,如:

 ---
   title: Activity
    date: 2019-03-01 13:45:13
    type: "activity"
 ---

具体配置需要在模板_config.yml 配置,具体可见下方说明

新增开关及调整

  1. 百度链接提供JS自动推送
# 模板_config.yml中配置
baidu_url_js_push: false
  1. UI的微调,主要为header部分
  2. 文章页尾部二维码关注增加开关并可配置
# 模板_config.yml中配置
share:
    show: false #展示开关
    img: #图片地址
    img_alt: #图片alt
    tip_text: #图片底部提示文字

4、增加logo配置,区分logo和favicon配置

# 模板_config.yml中配置
favicon: footer-logo.png # favicon配置
logo: # logo配置

5、新增gitalk评论支持

# 模板_config.yml中配置
# disqus同时配置的情况下,优先选择模板中配置的评论系统
# clientID、clientSecret的生成请访问申请 https://github.com/settings/applications/new
comment_extend:
    gitalk:
        enable: true
        owner: Github username
        repo: issue repo name
        admin: github username
        clientID: xxx
        clientSecret: xxx

_config.yml 配置说明

相关示例可参考项目中_config.yml文件 1、配置友情链接

links:
   name1: url1
   name2: url2
   ...

2、配置项目

projects:
  project name1:
    url:  url1
    descript: project descript
  project name2:
    url:  url2
    descript: project descript
  ...

3、配置活动

activitys:
  title1:
    date: 2018-09-10 # 时间,只能YYYY-MM-DD
    url: url
    type: 采访 # 类型,可自定义
  ...

4、配置paper

papers:
  titile: url
  ...

错误处理

1、readingTime is not defined

安装插件hexo-reading-time

空文件

简介

Hexo theme for https://www.fooying.com, modification based on hexo-theme-xoxo 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/walter_bishop/hexo-theme-xoxo-plus.git
git@gitee.com:walter_bishop/hexo-theme-xoxo-plus.git
walter_bishop
hexo-theme-xoxo-plus
hexo-theme-xoxo-plus
master

搜索帮助