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
0 parents
commit f0fa493
Showing
424 changed files
with
52,320 additions
and
0 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,11 @@ | ||
_site/* | ||
_theme_packages/* | ||
|
||
Thumbs.db | ||
.DS_Store | ||
|
||
!.gitkeep | ||
|
||
.rbenv-version | ||
.rvmrc | ||
run.bat |
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 @@ | ||
Welcome Qzone! |
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,14 @@ | ||
<h1>404</h1> | ||
<p>Page not found!</p> | ||
|
||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-11003279-2']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> |
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 @@ | ||
lippiouyangonline.info |
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,8 @@ | ||
#一点点说明 | ||
|
||
这是[lippiouyangonline.info](http://lippiouyangonline.info)的源码 | ||
* 马上动手,很赞 | ||
* 感谢认可 | ||
* 想复用我的设计,没问题,标个出处就好啦 | ||
* 转载也没问题,标个出处呗少年 | ||
|
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,130 @@ | ||
# coding: utf-8 | ||
# This is the default format. | ||
# For more see: https://github.com/mojombo/jekyll/wiki/Permalinks | ||
permalink: /:categories/:year/:month/:day/:title.html | ||
|
||
exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"] | ||
auto: true | ||
markdown: rdiscount | ||
pygments: true | ||
|
||
paginate: 50 | ||
|
||
# Themes are encouraged to use these universal variables | ||
# so be sure to set them if your theme uses them. | ||
# | ||
title: LippiOuYang | ||
tagline: 迷津欲有问,横舟渡归人。 | ||
|
||
author: | ||
name: LippiOuYang | ||
email: ouyanglip@gmail.com | ||
github: LippiOuYang | ||
|
||
|
||
# The production_url is only used when full-domain names are needed | ||
# such as sitemap.txt | ||
# Most places will/should use BASE_PATH to make the urls | ||
# | ||
# If you have set a CNAME (pages.github.com) set your custom domain here. | ||
# Else if you are pushing to username.github.com, replace with your username. | ||
# Finally if you are pushing to a GitHub project page, include the project name at the end. | ||
# | ||
production_url: http://lippiouyangonline.info | ||
|
||
# All Jekyll-Bootstrap specific configurations are namespaced into this hash | ||
# | ||
JB: | ||
version: 0.2.13 | ||
|
||
# All links will be namespaced by BASE_PATH if defined. | ||
# Links in your website should always be prefixed with {{BASE_PATH}} | ||
# however this value will be dynamically changed depending on your deployment situation. | ||
# | ||
# CNAME (http://yourcustomdomain.com) | ||
# DO NOT SET BASE_PATH | ||
# (urls will be prefixed with "/" and work relatively) | ||
# | ||
# GitHub Pages (http://username.github.com) | ||
# DO NOT SET BASE_PATH | ||
# (urls will be prefixed with "/" and work relatively) | ||
# | ||
# GitHub Project Pages (http://username.github.com/project-name) | ||
# | ||
# A GitHub Project site exists in the `gh-pages` branch of one of your repositories. | ||
# REQUIRED! Set BASE_PATH to: http://username.github.com/project-name | ||
# | ||
# CAUTION: | ||
# - When in Localhost, your site will run from root "/" regardless of BASE_PATH | ||
# - Only the following values are falsy: ["", null, false] | ||
# - When setting BASE_PATH it must be a valid url. | ||
# This means always setting the protocol (http|https) or prefixing with "/" | ||
BASE_PATH: false | ||
|
||
# By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme. | ||
# ex: [BASE_PATH]/assets/themes/[THEME-NAME] | ||
# | ||
# Override this by defining an absolute path to assets here. | ||
# ex: | ||
# http://s3.amazonaws.com/yoursite/themes/watermelon | ||
# /assets | ||
# | ||
ASSET_PATH: false | ||
|
||
# These paths are to the main pages Jekyll-Bootstrap ships with. | ||
# Some JB helpers refer to these paths; change theme here if needed. | ||
# | ||
archive_path: /archive.html | ||
categories_path: /categories.html | ||
tags_path: /tags.html | ||
|
||
# Settings for comments helper | ||
# Set 'provider' to the comment provider you want to use. | ||
# Set 'provider' to false to turn commenting off globally. | ||
# | ||
comments: | ||
provider: disqus | ||
disqus: | ||
short_name: lippiouyang | ||
livefyre: | ||
site_id lippiouyang | ||
intensedebate: | ||
account: lippiouyang | ||
facebook: | ||
appid: 123 | ||
num_posts: 5 | ||
width: 580 | ||
colorscheme: light | ||
|
||
# Settings for analytics helper | ||
# Set 'provider' to the analytics provider you want to use. | ||
# Set 'provider' to false to turn analytics off globally. | ||
# | ||
analytics: | ||
provider: google | ||
google: | ||
tracking_id : 'UA-11003279-2' | ||
getclicky: | ||
site_id: | ||
mixpanel: | ||
token: '_MIXPANEL_TOKEN_' | ||
|
||
# Settings for sharing helper. | ||
# Sharing is for things like tweet, plusone, like, reddit buttons etc. | ||
# Set 'provider' to the sharing provider you want to use. | ||
# Set 'provider' to false to turn sharing off globally. | ||
# | ||
sharing: | ||
provider: false | ||
|
||
# Settings for all other include helpers can be defined by creating | ||
# a hash with key named for the given helper. ex: | ||
# | ||
# pages_list: | ||
# provider: "custom" | ||
# | ||
# Setting any helper's provider to 'custom' will bypass the helper code | ||
# and include your custom code. Your custom file must be defined at: | ||
# ./_includes/custom/[HELPER] | ||
# where [HELPER] is the name of the helper you are overriding. | ||
|
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,14 @@ | ||
{% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %} | ||
|
||
{% case site.JB.analytics.provider %} | ||
{% when "google" %} | ||
{% include JB/analytics-providers/google %} | ||
{% when "getclicky" %} | ||
{% include JB/analytics-providers/getclicky %} | ||
{% when "mixpanel" %} | ||
{% include JB/analytics-providers/mixpanel %} | ||
{% when "custom" %} | ||
{% include custom/analytics %} | ||
{% endcase %} | ||
|
||
{% endif %} |
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,12 @@ | ||
<script type="text/javascript"> | ||
var clicky_site_ids = clicky_site_ids || []; | ||
clicky_site_ids.push({{ site.JB.analytics.getclicky.site_id }}); | ||
(function() { | ||
var s = document.createElement('script'); | ||
s.type = 'text/javascript'; | ||
s.async = true; | ||
s.src = '//static.getclicky.com/js'; | ||
( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s ); | ||
})(); | ||
</script> | ||
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/{{ site.JB.analytics.getclicky.site_id }}ns.gif" /></p></noscript> |
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 @@ | ||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', '{{ site.JB.analytics.google.tracking_id }}']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> |
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 @@ | ||
<script type="text/javascript"> | ||
var mpq = []; | ||
mpq.push(["init", "{{ site.JB.analytics.mixpanel.token}}"]); | ||
(function(){var b,a,e,d,c;b=document.createElement("script");b.type="text/javascript"; | ||
b.async=true;b.src=(document.location.protocol==="https:"?"https:":"http:")+ | ||
"//api.mixpanel.com/site_media/js/api/mixpanel.js";a=document.getElementsByTagName("script")[0]; | ||
a.parentNode.insertBefore(b,a);e=function(f){return function(){mpq.push( | ||
[f].concat(Array.prototype.slice.call(arguments,0)))}};d=["init","track","track_links", | ||
"track_forms","register","register_once","identify","name_tag","set_config"];for(c=0;c< | ||
d.length;c++){mpq[d[c]]=e(d[c])}})(); | ||
</script> |
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,37 @@ | ||
{% comment %}<!-- | ||
The categories_list include is a listing helper for categories. | ||
Usage: | ||
1) assign the 'categories_list' variable to a valid array of tags. | ||
2) include JB/categories_list | ||
example: | ||
<ul> | ||
{% assign categories_list = site.categories %} | ||
{% include JB/categories_list %} | ||
</ul> | ||
|
||
Notes: | ||
Categories can be either a Hash of Category objects (hashes) or an Array of category-names (strings). | ||
The encapsulating 'if' statement checks whether categories_list is a Hash or Array. | ||
site.categories is a Hash while page.categories is an array. | ||
|
||
This helper can be seen in use at: ../_layouts/default.html | ||
-->{% endcomment %} | ||
|
||
{% if site.JB.categories_list.provider == "custom" %} | ||
{% include custom/categories_list %} | ||
{% else %} | ||
{% if categories_list.first[0] == null %} | ||
{% for category in categories_list %} | ||
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category }}-ref" rel="category"> | ||
{{ category | join: "/" }} <span>{{ site.categories[category].size }}</span> | ||
</a></li> | ||
{% endfor %} | ||
{% else %} | ||
{% for category in categories_list %} | ||
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category[0] }}-ref" rel="category"> | ||
{{ category[0] | join: "/" }} <span>{{ category[1].size }}</span> | ||
</a></li> | ||
{% endfor %} | ||
{% endif %} | ||
{% endif %} | ||
{% assign categories_list = nil %} |
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,16 @@ | ||
{% if site.JB.comments.provider and page.comments != false %} | ||
|
||
{% case site.JB.comments.provider %} | ||
{% when "disqus" %} | ||
{% include JB/comments-providers/disqus %} | ||
{% when "livefyre" %} | ||
{% include JB/comments-providers/livefyre %} | ||
{% when "intensedebate" %} | ||
{% include JB/comments-providers/intensedebate %} | ||
{% when "facebook" %} | ||
{% include JB/comments-providers/facebook %} | ||
{% when "custom" %} | ||
{% include custom/comments %} | ||
{% endcase %} | ||
|
||
{% endif %} |
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,14 @@ | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
{% if site.safe == false %}var disqus_developer = 1;{% endif %} | ||
var disqus_shortname = 'lippiouyang'; // required: replace example with your forum shortname | ||
{% if page.wordpress_id %}var disqus_identifier = '{{page.wordpress_id}} {{site.production_url}}/?p={{page.wordpress_id}}';{% endif %} | ||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> |
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,9 @@ | ||
<div id="fb-root"></div> | ||
<script>(function(d, s, id) { | ||
var js, fjs = d.getElementsByTagName(s)[0]; | ||
if (d.getElementById(id)) return; | ||
js = d.createElement(s); js.id = id; | ||
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={{ site.JB.comments.facebook.appid }}"; | ||
fjs.parentNode.insertBefore(js, fjs); | ||
}(document, 'script', 'facebook-jssdk'));</script> | ||
<div class="fb-comments" data-href="{{ site.production_url }}" data-num-posts="{{ site.JB.comments.facebook.num_posts }}" data-width="{{ site.JB.comments.facebook.width }}" data-colorscheme="{{ site.JB.comments.facebook.colorscheme }}"></div> |
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,6 @@ | ||
<script> | ||
var idcomments_acct = '{{ site.JB.comments.intensedebate.account }}'; | ||
var idcomments_post_id; | ||
var idcomments_post_url; | ||
</script> | ||
<script type="text/javascript" src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script> |
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,6 @@ | ||
<script type='text/javascript' src='http://zor.livefyre.com/wjs/v1.0/javascripts/livefyre_init.js'></script> | ||
<script type='text/javascript'> | ||
var fyre = LF({ | ||
site_id: {{ site.JB.comments.livefyre.site_id }} | ||
}); | ||
</script> |
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,32 @@ | ||
{% comment%}<!-- | ||
The liquid_raw helper is a way to display raw liquid code, as opposed to parsing it. | ||
Normally you'd use Liquid's built in 'raw' tag. | ||
The problem is GitHub Jekyll does not support the current Liquid release. | ||
GitHub Jekyll supports the deprecated 'literal' tag. | ||
Using one will break the other if you plan to deploy to GitHub pages. | ||
see: https://github.com/mojombo/jekyll/issues/425 | ||
|
||
Since I don't want to mess with Liquid versions, I'll just rewrite the way I | ||
intend to give liquid examples. It's not an elegant by any means: | ||
|
||
Usage: | ||
1) Define a 'text' variable with the block of liquid code you intend to display. | ||
2) Pass the text variable to include JB/liquid_raw | ||
|
||
example: | ||
{% capture text %}|.% for tag in tags_list %.| | ||
<li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li> | ||
|.% endfor %.| | ||
|
||
|.% assign tags_list = null %.|{% endcapture %} | ||
{% include JB/liquid_raw %} | ||
|
||
As seen here, you must use "|." and ".|" as opening and closing brackets. | ||
-->{% endcomment%} | ||
|
||
{% if site.JB.liquid_raw.provider == "custom" %} | ||
{% include custom/liquid_raw %} | ||
{% else %} | ||
<pre><code>{{text | replace:"|.", "{" | replace:".|", "}" | replace:">", ">" | replace:"<", "<" }}</code></pre> | ||
{% endif %} | ||
{% assign text = nil %} |
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 @@ | ||
{% comment %}<!-- | ||
The pages_list include is a listing helper. | ||
Usage: | ||
1) assign the 'pages_list' variable to a valid array of pages or posts. | ||
2) include JB/pages_list | ||
example: | ||
<ul> | ||
{% assign pages_list = site.pages %} | ||
{% include JB/pages_list %} | ||
</ul> | ||
|
||
Grouping: (optional): | ||
assign the 'group' variable to constrain the list to only pages/posts | ||
in the given group. Note you must define the group manually in the page/post | ||
meta-data to use this feature. | ||
Grouping is mainly helpful for non-post pages. | ||
If you want to group posts, it's easier/better to tag them, then pass the tagged posts array. | ||
i.e. site.tags.cool_tag (this returns an array of posts tagged: cool_tag) | ||
|
||
This helper can be seen in use at: ../_layouts/default.html | ||
-->{% endcomment %} | ||
|
||
{% if site.JB.pages_list.provider == "custom" %} | ||
{% include custom/pages_list %} | ||
{% else %} | ||
{% for node in pages_list %} | ||
{% if node.title != null %} | ||
{% if group == null or group == node.group %} | ||
{% if page.url == node.url %} | ||
<li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li> | ||
{% else %} | ||
<li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li> | ||
{% endif %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% assign pages_list = nil %} | ||
{% assign group = nil %} |
Oops, something went wrong.