Git Product home page Git Product logo

hexo-theme-cafe's Introduction

hexo-theme-cafe

Cafe 主题旨在追求简约、操作简单、阅读舒适度。 英文版介绍 Read in English

灵感来自 Landscape,参考@ruanyf博客调整了整体的样式,一些布局细调,以及新增一些 widge t等,后期会在使用的过程中不断进行调整。

体验参考本人博客 Giscafer's blog

响应式兼容手机端

欢迎到issues提建议

效果截图

PC演示

Mobile演示

使用

安装

$ git clone https://github.com/giscafer/hexo-theme-cafe.git themes/cafe

或者直接到releases下载最新源码文件,重命名为cafe放到博客themes目录下

Cafe 需要 Hexo 2.4 及以上版本支持.

使用主题

修改博客配置文件 `_config.yml` 主题属性 theme 为 `cafe`.

更新升级

cd themes/cafe
git pull

主题配置

主题 themes/cafe/_config.yml 文件内容参考说明配置

配置教程具体见_config.yml文件注释说明

Features

社区化

支持国内外主流社区分享:

share

支持评论插件有:

  • Disqus
  • 网易云跟帖
  • 畅言
  • 友言
  • gitment

Fancybox

Cafe 使用Fancybox 展示相册、图片。 您可以使用减记语法或fancybox标签插件添加你的照片。

![img caption](img url)

{% fancybox img_url [img_thumbnail] [img_caption] %}

Sidebar

你可以设置sidebar 配置侧边栏,有 leftright 二种选择

Cafe 主题提供以下内置 widgets:

  • social # 社交账号链接
  • category # 归类
  • tag # 标签
  • tagcloud # 云标签
  • archives # 归档
  • recent_posts # 最新文章
  • friendly_link # 友情链接

你可以在主题配置文件 widget 设置选项设置需要的 widgets。

打赏

License

MIT


giscafer.com  ·  GitHub @giscafer  ·  Weibo @Nickbing Lao

hexo-theme-cafe's People

Contributors

giscafer avatar forvoid avatar

Watchers

James Cloos avatar Vanson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.