-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e426b60
commit 6f22422
Showing
51 changed files
with
17,223 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
yanshinian.com |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 Ankan Biswas | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
# vno-jekyll | ||
把onvcat的vno中的标签换成了jekyll的标签,然后根据下载下来的一个开源主题一组装就可以了 | ||
# Vno-jekyll, 一个jekyll blog的主题 | ||
# Vno-jekyll, just another jekyll theme | ||
|
||
|
||
|
||
## 说明 | ||
|
||
[`Vno`](https://github.com/onevcat/vno) 的作者是[`onevcat`](http://www.onevcat.com/),然后,我觉得不错,就在他的github上下载了,我想用github的托管功能。所以我没选择Ghost。然后,体力活么,把onvcat的vno中的标签换成了jekyll的标签,然后根据下载下来的一个开源主题一组装就可以了。 | ||
|
||
之前的开源主题叫做 [`Uno-dbyll`](http://jekyllthemes.org/themes/uno-dbyll/),就是`onvcat`所说,`vno`是改自于 `uno`。`Uno-dbyll`就算是一个壳子了。然后把它的页面全部删除了。css跟js也删除了。把改好的vno复制过去。就可以了。 | ||
|
||
/Users/chenjiang/Documents/yanshinian/vno-jekyll/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This is the default format. | ||
# For more see: http://jekyllrb.com/docs/permalinks/ | ||
permalink: /:title | ||
# https://help.github.com/articles/migrating-your-pages-site-from-maruku | ||
markdown: redcarpet | ||
|
||
highlighter: pygments | ||
paginate: 20 # pagination based on number of posts | ||
paginate_path: "page/:num" | ||
|
||
# These paths are to the main pages Jekyll-Bootstrap ships with. | ||
# Some JB helpers refer to these paths; change them here if needed. | ||
# | ||
categories_path : categories.html | ||
tags_path : tags.html | ||
|
||
#BASE_PATH : http://blog.ankanbiswas.in/uno-dbyll | ||
BASE_PATH : http://yanshinian.com | ||
|
||
description : 物尽其用!人尽其才!两全其美! | ||
title : 言十年的博客 | ||
logo : /avatar.jpg | ||
#cover : /assets/images/background-cover.jpg | ||
|
||
|
||
author: | ||
name: 言十年 | ||
maxim: Stay hungry,Stay foolish | ||
role: Jekyll Theme | ||
email: yan@yanshinian.com | ||
github: yanshinian | ||
twitter: yanshinian | ||
facebook: 言十年 | ||
googleplus: +十年 | ||
bio: "我是言十年,互相学习,互相进步" | ||
uno-dbyll: /avatar.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
|
||
|
||
<title>{{ page.title }}</title> | ||
|
||
<meta name="HandheldFriendly" content="True"> | ||
<meta name="MobileOptimized" content="320"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
|
||
<meta name="description" content="{{ page.description }}"> | ||
|
||
<meta name="twitter:card" content="summary"> | ||
<meta name="twitter:title" content="{{ page.description }}"> | ||
<meta name="twitter:description" content="{{ page.description }}"> | ||
|
||
<meta property="og:type" content="article"> | ||
<meta property="og:title" content="{{ page.description }}"> | ||
<meta property="og:description" content="{{ page.description }}"> | ||
|
||
<link rel="icon" type="image/png" href="/assets/images/favicon.png" /> | ||
<link href="/assets/images/favicon.png" rel="shortcut icon" type="image/png"> | ||
<link href="/apple-touch-icon-precomposed.png" rel="apple-touch-icon"> | ||
|
||
<!-- Styles and Scripts --> | ||
<link rel="stylesheet" type="text/css" href="/assets/css/vno.css" /> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> | ||
<link rel="stylesheet" type="text/css" href="/assets/css/tomorrow.css"> | ||
|
||
<!-- Ghost Head --> | ||
|
||
|
||
</head> | ||
<body class="home-template no-js"> | ||
|
||
<span class="mobile btn-mobile-menu"> | ||
<i class="fa fa-list btn-mobile-menu__icon"></i> | ||
<i class="fa fa-angle-up btn-mobile-close__icon hidden"></i> | ||
</span> | ||
|
||
{% include side-panel.html %} | ||
|
||
<div class="content-wrapper"> | ||
<div class="content-wrapper__inner"> | ||
{{ content }} | ||
|
||
{% include footer.html %} | ||
</div> | ||
</div> | ||
|
||
<!-- Ghost Footer --> | ||
|
||
|
||
<!-- The main JavaScript file --> | ||
<script type="text/javascript" src="/assets/js/jquery.js"></script> | ||
<script type="text/javascript" src="/assets/js/main.js"></script> | ||
<!-- Highlight.js /assets/js/ --> | ||
<script type="text/javascript" src="/assets/js/highlight.pack.js"></script> | ||
<script>hljs.initHighlightingOnLoad();</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
<footer class="footer"> | ||
<span class="footer__copyright">© {{date format="YYYY"}} All rights reserved.</span> | ||
<span class="footer__copyright"><a href="https://github.com/onevcat/vno">Vno</a> theme by <a href="http://im.onevcat.com">@onevcat</a></span> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
|
||
|
||
<article class="post-container post-container--single"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
</header> | ||
|
||
<section class="post"> | ||
{{ content }} | ||
</section> | ||
|
||
</article> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<hr class="post-list__divider " /> | ||
|
||
<nav class="pagination" role="navigation"> | ||
{% if paginator.previous_page %} | ||
<a class="newer-posts pagination__newer btn btn-small btn-tertiary" href="{{ site.BASE_PATH }}/{{ site.paginate_path | replace: ':num', paginator.previous_page }}/#blog">← 最近</a> | ||
{% endif %} | ||
<span class="pagination__page-number">{{ paginator.page }} of {{ paginator.total_pages }}</span> | ||
{% if paginator.next_page %} | ||
<a class="older-posts pagination__older btn btn-small btn-tertiary" href="{{ site.BASE_PATH }}/{{ site.paginate_path | replace: ':num', paginator.next_page }}#blog">更早 →</a> | ||
{% endif %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<article class="post-container post-container--single"> | ||
|
||
<header class="post-header"> | ||
<div class="post-meta"> | ||
<time datetime="{{ page.date | date: "%Y-%m-%d"}}" class="post-meta__date date">{{ page.date | date: "%Y-%m-%d"}}</time> • <span class="post-meta__tags tags">于{{ page.categories }}</span> | ||
<!--<span class="post-meta__author author"><img src="{{author.image}}" alt="profile image for {{author.name}}" class="avatar post-meta__avatar" /> by {{author.name}}</span>--> | ||
</div> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
</header> | ||
|
||
<section class="post"> | ||
{{ content }} | ||
</section> | ||
|
||
</article> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<header class="panel-cover {% if page.title %}panel-cover--collapsed{% endif %}" {% if site.cover %}style="background-image: url({{ site.cover }})"{% endif %}> | ||
|
||
<div class="panel-main"> | ||
|
||
<div class="panel-main__inner panel-inverted"> | ||
<div class="panel-main__content"> | ||
|
||
{% if site.logo %} | ||
<a href="{{ site.BASE_PATH }}" title="前往 {{ site.title }} 的主页"><img src="{{ site.logo }}" width="80" alt="{{ site.title }} logo" class="panel-cover__logo logo" /></a> | ||
{% endif %} | ||
<h1 class="panel-cover__title panel-title"><a href="{{ site.BASE_PATH }}" title="link to homepage for {{ site.title }}">{{ site.title }}</a></h1> | ||
<span class="panel-cover__subtitle panel-subtitle">天道酬勤,事在人为</span> | ||
<hr class="panel-cover__divider" /> | ||
<p class="panel-cover__description">{{ site.description }}</p> | ||
<hr class="panel-cover__divider panel-cover__divider--secondary" /> | ||
|
||
<div class="navigation-wrapper"> | ||
<div> | ||
<nav class="cover-navigation cover-navigation--primary"> | ||
<ul class="navigation"> | ||
<li class="navigation__item"><a href="/#blog" title="访问博客" class="blog-button">博客</a></li> | ||
<li class="navigation__item"><a href="###" target="_blank" title="我的项目">项目</a></li> | ||
<li class="navigation__item"><a href="###" title="了解更多关于我">关于</a></li> | ||
<li class="navigation__item"><a href="http://eepurl.com/" title="邮件订阅本站">订阅</a></li> | ||
</ul> | ||
</nav> | ||
</div> | ||
<div> | ||
{% include social.html %} | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<div class="panel-cover--overlay cover-blue"></div> | ||
</div> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<nav class="cover-navigation navigation--social"> | ||
<ul class="navigation"> | ||
|
||
|
||
<!-- Weibo --> | ||
<li class="navigation__item"> | ||
<a href="http://weibo.com/onevcat" title="@onevcat 的微博" target="_blank"> | ||
<i class='social fa fa-weibo'></i> | ||
<span class="label">Weibo</span> | ||
</a> | ||
</li> | ||
|
||
<!-- Github --> | ||
<li class="navigation__item"> | ||
<a href="http://github.com/{{ site.author.github }}" title="言十年 的 Github" target="_blank"> | ||
<i class='social fa fa-github'></i> | ||
<span class="label">Github</span> | ||
</a> | ||
</li> | ||
|
||
<!-- Twitter --> | ||
<li class="navigation__item"> | ||
<a href="http://twitter.com/{{ site.author.twitter }}" title="@onevcat" target="_blank"> | ||
<i class='social fa fa-twitter'></i> | ||
<span class="label">Twitter</span> | ||
</a> | ||
</li> | ||
|
||
<!-- RSS --> | ||
<li class="navigation__item"> | ||
<a href="{{ site.BASE_PATH }}/rss/" rel="author" title="RSS" target="_blank"> | ||
<i class='social fa fa-rss'></i> | ||
<span class="label">RSS</span> | ||
</a> | ||
</li> | ||
|
||
<!-- Email --> | ||
<li class="navigation__item"> | ||
<a href="mailto:{{ site.author.email }}" title="邮件联系我"> | ||
<i class='social fa fa-envelope'></i> | ||
<span class="label">Email</span> | ||
</a> | ||
</li> | ||
|
||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include default.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: default | ||
--- | ||
{% include page.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: default | ||
--- | ||
{% include post.html %} |
Oops, something went wrong.