Skip to content

ldcode/hexo-theme-ocean

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ocean

Ocean 是基于 Landscape 中的功能设计的一个 Hexo 主题

安装

$ git clone https://github.com/zhwangart/hexo-theme-ocean.git

所以跟 Landscape 一样 Ocean 需要 Hexo 2.4 及以上版本。 如果您想启用RSS,还需要[hexo-generate-feed]插件。

启用

_config.yml 中设置 themeOcean.

theme: ocean

更新

cd themes/ocean
git pull

配置结构

并没有删除 Landscape 中 Sidebar 跟 Widgets 的配置信息,只是注掉了代码。另外 Ocean 新增了本地搜索

menu:
  首页: /
  归档: /archives
  相册: /gallery
  关于: /about
rss: /atom.xml

# Content
excerpt_link: Read More
fancybox: true

# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
google_plus:

# Local search
# Dependencies: https://github.com/flashlab/hexo-generator-search
local_search:
  enable: true
  # if auto, trigger search by changing input
  # if manual, trigger search by pressing enter key or search button
  trigger: auto
  # show top n results per article, show all results by setting to -1
  top_n_per_article: 1
  unescape: true

Fancybox

Ocean 使用[Fancybox]展示照片。你可以使用标记语法或 fancybox 标签插件来添加你的照片。

![img caption](img url)

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

感谢

<<<<<<< HEAD

  • [Preview] =======

d9baf2b21294a7fc4157476f09263512049444a7

hexo-theme-ocean

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 51.8%
  • JavaScript 28.5%
  • HTML 19.7%