priaonehaha / gaohaoyang.github.io

blog

Home Page:http://gaohaoyang.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abstract

This is my blog based on jekyll. And I change the style and interactive. If you want to use this model of the blog. Please give a star at this repository. Then you can clone it as your blog model.

You can visit here to see this blog.

这是我的博客,基于 jekyll。我改了所有默认的样式和交互。如果你想使用这个博客模板。请先在这个仓库上点个star吧,这也是对我的肯定和鼓励,谢谢了。然后你可以克隆这个仓库用作你自己的博客。

博客访问地址:点击这里

使用时请注明模板来源: Jekyll theme by Gaohaoyang


Update

2015/05/25

  • Fix bug of footer jumping
  • Add response interactive of demo page

About Theme

This is a blog theme based on jekyll. You can use on your own blog. Before you use it, please click a star on this respository. You will encourage me to do more great things!

Sample

static view

![blog sample](http://7q5cdt.com1.z0.glb.clouddn.com/blog-blog sample.png)

active view

blog-blogShow1

blog-blogShow2

Attention

When you use this theme. Please make sure to add the author's info, like this: Jekyll theme by Gaohaoyang or Designed by Gaohaoyang

While you should delete statistics code in _includes/head.html.

like this:

var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?**************************";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

And you should change the duoshuo comment code in _layouts/default.html.

like this:

var duoshuoQuery = {short_name:"******"};
    (function() {
        var ds = document.createElement('script');
        ds.type = 'text/javascript';ds.async = true;
        ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
        ds.charset = 'UTF-8';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
})(); 

Thank you. Here is my blog: HyG


LICENSE

MIT License

About

blog

http://gaohaoyang.github.io

License:MIT License


Languages

Language:HTML 61.6%Language:CSS 30.8%Language:JavaScript 7.6%