Skip to content

Latest commit

 

History

History
101 lines (60 loc) · 4.31 KB

README.md

File metadata and controls

101 lines (60 loc) · 4.31 KB

Before Abstract 2016.4.14 说明

这个仓库是用来存放之前的博客主题的,我将在以后使用新的博客主题,风格不变,增加了些功能,并重构了代码。这个仓库留个纪念吧。以后不再维护这个仓库了。大家可以看我的新的博客主题,在 gaohaoyang.github.io

This repo is used to store the old blog code. I'll use new blog theme, with same style, adding some features, and refactoring the code. So leave a memory of this repo here. I won't maintain this repo in the future. You can see my new blog theme at gaohaoyang.github.io

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

TodoList

之前忙于找工作,最近忙于个人的毕业论文撰写,很久没有投入这个博客主题的维护了。同时,自己学习前端也整整一年了,对当年写的代码已经不太满意了。列举一下即将做的任务。写完毕业论文后一定重构这个 jekyll 主题!大约在2016年3月开始。大家有什么建议也可以给我 issue,我会记下来的。

I was busy on applying on a job before, and recently I am writing my Graduation Thesis. So it's a long time since I maintained this Jekyll Theme last time. At the same time I have learned Front-end tech for whole one year. I don't satisfy the code I wrote before. There is a todo list below. I will do it after my Graduation Thesis in March 2016. If you have any suggestions, you can open an issue. I'll record them. Thank you! I love the open source world!

  • remove jQuery & BootStrap, do code reconsitution with Responsive Layout
  • add tags
  • modify content style to be fixed on screen
  • modify some details for better sense of design
  • add search input

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