Skip to content

licheedev/hexo-theme-freemind

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo-Theme-Freemind

小幅度修改了下,修改了下首页文章标题栏的长度,还有“查看全文”按钮右对齐,加了百度统计、百度分享等。

此repo仅作为本人博客备份用途,里面部分开放平台(如百度统计)代码含本人专用代码,没有做说明,所以有需要的请fork上述原repo的进行修改。

本人博客: https://licheetec.com

Yet another bootstrap based theme for Hexo. Freemind aims at fully taking advantages of Bootstrap.

Features

  • Bootstrap - get the power of Twitter Bootstrap with minimal hassle;
  • Tag plugins - luxuriant Bootstrap tag plugins, provided by hexo-tag-bootstrap, including:
    • textcolor - a paragraph of text with specified color;
    • button - a button with target links, text and specified color;
    • label - a label with text and specified color;
    • badge - a badge with text;
    • alert - alert messages with text and specified color;

Install

  1. install theme:
$ git clone https://github.com/licheetec/hexo-theme-freemind.git themes/freemind

PS:上面是我这个repo的地址,不是原repo的

  1. install hexo-tag-bootstrap:
$ npm install hexo-tag-bootstrap --save
  1. Create pages

Freemind offers you the customized Categories, Tags and About pages. But you need to manually create these page at your 'source' folder.

For example, to create a Categories page, you may create a index.html file at source/categories/ folder with the following contents:

title: Categories
layout: categories
---

Tags and About pages are created in a similar way, except that the layouts are tags and page respectively.

Some people may argue that I should embed these pages in the theme. This really makes sense, but currently I don't have time to do so. If you know how, welcome to send me patches.

Enable

Modify theme setting in your _config.yml to freemind.

Update

$ cd themes/freemind
$ git pull

Configuration

slogan: Yet another bootstrap theme.

menu:
  - title: Archives
    url: archives
    intro: All the articles.
    icon: fa fa-archive
  - title: Categories
    url: categories
    intro: All the categories.
    icon: fa fa-folder
  - title: Tags
    url: tags
    intro: All the tags.
    icon: fa fa-tags
  - title: About
    url: about
    intro: About me.
    icon: fa fa-user

links:
  - title: My Github
    url: https://www.github.com/wzpan
    intro: My Github account.
    icon: fa fa-github
  - title: My LinkedIn
    url: https://www.linkedin.com/pub/weizhou-pan/5b/8a0/161
    intro: My Linkin account.
    icon: fa fa-linkedin

widgets:
- search
- category
- tagcloud
- recent_posts
- links

rss: atom.xml
favicon: favicon.png
fancybox: true
duoshuo_shortname:
google_analytics:
  • slogan - slogan display at the index page
  • menu - Navigation menu
  • links - reference links at the links widget
  • widgets - Widgets displaying in sidebar
  • rss - RSS link
  • fancybox - Enable Fancybox
  • duoshuo_shortname - DuoShuo ID, if you prefer to use duoshuo instead of Disqus
  • google_analytics - Google Analytics ID

Front-Matter

There are some new front-matter settings in Freemind that you can use to decorate your articles.

  • description - a short description about the articles that will be display at the top of the post
  • feature - sets a feature image that will be show at the index page
  • toc - renders a table of contents

For example:

title: Tag Plugins
date: 2014-03-16 10:17:16
tags: plugins
categories: Docs
description: Introduce tag plugins in freemind.
feature: images/tag-plugins/plugins.jpg
toc: true
---

License

This theme is provided under MIT License.

People Using Freemind

see Examples

Credits

About

Yet another bootstrap theme for hexo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 88.4%
  • JavaScript 11.6%