Giter Club home page Giter Club logo

hexo-theme-freemind's Introduction

Hexo-Theme-Freemind

screenshots

Freemind aims at fully taking advantages of Bootstrap.

Requirements

Features

  • Bootstrap - get the power of Twitter Bootstrap with minimal hassle;
  • 2 columns layout - the most traditional and comfortable blog layout;
  • Tag plugins - luxuriant Bootstrap tag plugins, provided by my another project 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;
  • Local Search Engine - a built-in local search engine, with the help of my another project hexo-generator-search.
  • Color Themes - luxuriant Bootswatch color themes for choice;
  • Pin to top - able to pin any article to the top of the first index page;
  • Built-in Comment System - a comment system based on my another project comment.js.

color themes

Install

  1. install theme:
$ git clone https://github.com/wzpan/hexo-theme-freemind.git themes/freemind
  1. install hexo-tag-bootstrap (optional):
$ npm install hexo-tag-bootstrap --save
  1. install hexo-generator-search (optional):
$ npm install hexo-generator-search --save
  1. install hexo-recommended-posts (optional):
$ npm install hexo-recommended-posts --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.

Alternatively you can create About page using the following command:

$ hexo new page about

Note that only About page can be created in that way.

Enable

Modify theme setting in your _config.yml to freemind.

Update

$ cd themes/freemind
$ git pull

Configuration

slogan: Yet another bootstrap theme.

theme: bootstrap
inverse: true
# whether to show h2 and h3 titles in excerpts
show_title_in_excerpt: false

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: http://www.github.com/wzpan
    intro: My Github account.
    icon: fa fa-github
  - title: My LinkedIn
    url: http://www.linkedin.com/in/hahack
    intro: My Linkin account.
    icon: fa fa-linkedin

widgets:
- search
- recent_comments
- category
- tagcloud
- recent_posts
- links
#- rss  # uncomment this to show an RSS button in the sidebar

rss: atom.xml
favicon: favicon.png
fancybox: true
duoshuo_shortname:

# Recommended posts
# Dependency: https://github.com/huiwang/hexo-recommended-posts
recommended_posts:
  enabled: false

# analytics
google_analytics:
  enable: false
  siteid:
baidu_tongji:
  enable: false
  siteid:

# Search
swiftype_key:

# share button
bdshare: true
jiathis: false

# built-in comment system
comment_js:
  type: "github"
  user: "your-account"
  repo: "your-repo"
  client_id: "xxxxxx"
  client_secret: "xxxxxx"
  count: 5

# If you prefer to use gitalk for comments, please uncomment the following, fill in the fields, and comment out the comment_js above.
#comment_gitalk:
#  client_id: "<client_id>"
#  client_secret: "<client_secret>"
#  repo: "<repo-name>"
#  user: "<owner-username>"
  • slogan - slogan display at the index page
  • theme - which color theme to use
  • inverse - whether to use inverse navbar color
  • 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
  • recommended_posts - Enable recommended posts
  • analytics - Analytics ID. Supports both Google Analytics and Baidu Tongji.
  • swiftype_key - Swifttype key to enable local searching. Leave it blank or comment this line if you want to use build-in local search engine.
  • bdshare - Baidu share button at the bottom of article.
  • jiathis - jiathis share button at the bottom of article.
  • comment_js - settings for comment.js.
    • type: the site as the backend. Currently supports Github and OSChina.
    • user: your site's user account.
    • repo: your repo for comment issue tracking.
    • client_id(optional but recommended): the client id of your OAuth App.
    • client_secret(optional but recommended): the client secret of your OAuth App.
    • count(optional): the maximize length of the comment list. Default value is 5.
  • comment_gitalk - settings for Gitalk. Gitalk creates an issue for each page in a GitHub repo, and the visitor's comments are stored as comments to the issues.
    • client_id: the Client ID for GitHub Application.
    • client_secret: the Client Secret for GitHub Application.
    • repo: your GitHub repo to store comments.
    • user: the username of your GitHub account.

If you prefer to use disqus, the setting of disqus should be placed at your root _config.yml:

# Disqus
disqus_shortname:

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
  • top - pin the article to top if it is set to true
  • issue_id - comment.js issue_id for explicitly point out which Github issue should be connect to your post. For most situations you don't need it unless the post doesn't link to the issue you want.

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

hexo-theme-freemind's People

Contributors

alexandre avatar bojieli avatar carlclone avatar isetsuna avatar jin-qin avatar myyerrol avatar nsbum avatar pytlab avatar rickylin avatar wzpan avatar zhi1ong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-freemind's Issues

文章不支持“阅读更多”功能

首先,感谢大神提供的如此优秀的Hexo主题。

我看了下使用您主题的站点,发现他们的站点是支持“阅读更多”功能的。由于我完全是一个前端外行,不知道自己的站点怎么设置才支持该项功能?请大神多多指点。

个人站点地址:http://uuku.ml

请问如何修改图片大小

我对网页制作一窍不通,我现在想把文章中通过feature指定的图片,在首页table中显示的大小改小一些,感觉现在的图片显示的太大了一点,请问要在哪里修改?非常感谢!

顺便问一下,Link部份的icon能不能直接设置为一个url链接的图片?

haskell代码块显示不正常

data Shape = Circle Float | Rectangle Float Float deriving (Show)

显示会变成这样
20151025162040
而换用其他主题后一切正常。

颜色主题问题反馈

作者您好!首先感谢带来如此美丽漂亮大方帅气强大完善的hexo主题!
在使用颜色主题时,当使用darkly时,我的markdown文章中有些带格式的引用部分无法看到,必须要选择之后才能看到,请问这个怎么修改才行?谢谢!
测试了一下使用大部分暗色或非白色的颜色主题都是如此。
具体效果请看:关于作者页面这篇文章标题下面那一行下面的那一行

刚试了一下QQ浏览器android版查看没问题,但三星手机浏览器也有问题。。。
请大神尽快修复,谢谢!

另外怎么将我的网站加入到freemind的Examples页面呢?再次感谢 !

Categories BUG

刚才发现一个比较严重的BUG,之前PR过一个能够处理多个类别的Categories.ejs,但是在获取site.categories的时候,如果多篇文章都有一个二级类别,会重复获取,求解决

About the List Style of Archive Page

Hello~
你的主题非常赞,我已经应用到我了我自己的博客上,Wiki中已经添加了我的站点。
不过我想请教一下,achieve能不能支持按年或月来进行浏览啊?目前版本的主页和Achieve页面并没有太大的区别。

代码高亮问题

您好,我用了这个主题我发现,我的cpp代码,如果有#define <<。就是define后面有<<的话。整个代码不没法高亮了,不知道是主题的问题,还是我把哪个地方给改跪了,求看看。谢谢。

代码高亮设置

请问代码高亮如何设置,生成的页面完全没有代码高亮。

Categories 有一个小问题

当一个文章有多个categories时:
例如:
categories:

  • News
  • Lecture
    此时Category页面将无法渲染出各个类别下的各个文章,也就是类别都有,但是文章列表都为空

Showing Spanish

image

I already set the language to en in the root config, did I miss some place to set up the language?

新手求助--多颜色代码块

看您的网页中代码块颜色比较丰富,为什么使用了您的主题,我的代码块只是简单的一种配色呢?新手,求助

no pagination about tag page

When we have many articles(>per_page) with same tag,
For examples:
xxx.com/tags/abc
There is no pagination on the page, the page only show the first per_page articles.
but hexo actually generate all the pages, and we can only access those pages with typing url(xxx.com/tags/abc/page/2) in browser.
The only way to show all articles is to disable pagination in _config.yml.
Is there anyway to make a pagination on those page like the main page does?
Thank you for any help you can provide!!!

head.ejs中也加载了一遍analytics.ejs

head.ejs中也加载了一遍analytics.ejs,导致添加CNZZ的“站长统计 | 今日IP[12] | 今日PV[40] | 昨日IP[49] | 昨日PV[121] | 当前在线[1]”代码时,显示到了左上角导航栏下。感觉在footer.ejs中加载analytics.ejs就可以了吧。

搜索功能bug

搜索确认以后只会显示 site:example.com 搜索的关键词并没有显示,也没有按关键词排序。

blockquote 中的空白行

您好,想问下如何在blockquote中加入空白行,我试了以下方法发现不行:

> text 1
>
> 
> 
> text2

其中第3行应该生成一个空白行,但生成的html文件中并没有,谢谢。

请问怎么设置多级categories

如题,请问大神有什么解决方法吗?
一般情况下都是:

  • categorie_1
  • categorie_2
  • categorie_3

如何设置成这样:

  • categorie_1
    • categorie_1_1
    • categorie_1_2
  • categorie_2
    • categorie_2_1
  • categorie_3

另外,感谢您提供这么好的一个 Hexo 主题。

The demo site is down

If you're not using a subdomain (example.com), make sure you have two A records set to the following IPs: 192.30.252.153 and 192.30.252.154

能否实现【置顶】功能?

非常感谢大大带来的如此漂亮实用的主题!感谢!
这里提一个建议:能否实现置顶的功能?我的意思是不用修改时间而实现这个功能,谢谢!

ask one question

你好, 我使用了这个主题之后, 写的文章在主页上所有的内容都显示出来了, 却不能缩略, 这是什么原因呢?

How to create tags/index.html and categories/index.html

i see tags.ejs and categories.ejs under your layout folder, but when i run hexo generate no corresponding html file is generated, can you suggest how to implement tags and categories in nav like freemind does, thanks.

Source code for wiki?

Are you making the source code for your hahack's wiki page open to the public?

also subscribe page too

thanks

评论字体颜色的问题

您好,我又来反馈问题来了,呵呵。。。
使用freemind主题的时候,如果有评论的话,字体看起来很费劲。。。
评论是:
duoshuo_shortname
主题配置是:
theme: darkly
inverse: true

选中后才能看得清楚。。。,如图

333

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.