Permalink
Browse files

update: customise Yelee

  • Loading branch information...
MOxFIVE committed Mar 1, 2016
1 parent 9eee8f4 commit a15c5b1a1a9e9d9a7c0eeffe73acf776cfd9a58d
Showing with 10,995 additions and 35 deletions.
  1. +15 −0 README.md
  2. +10 −7 _config.yml
  3. +28 −24 themes/iyelee/_config.yml
  4. +17 −0 themes/iyelee/layout/_partial/article.ejs
  5. +1 −1 themes/iyelee/layout/_partial/comments/duoshuo.ejs
  6. +3 −0 themes/iyelee/layout/_partial/post/intro.ejs
  7. +8 −0 themes/iyelee/layout/_partial/post/nav.ejs
  8. +1 −0 themes/iyelee/source/CNAME
  9. +5 −0 themes/iyelee/source/README.html
  10. BIN themes/iyelee/source/apple-touch-icon.png
  11. +14 −2 themes/iyelee/source/css/_partial/article.styl
  12. +1 −1 themes/iyelee/source/css/_partial/customise/blockquote.styl
  13. +2 −0 themes/iyelee/source/js/main.js
  14. BIN themes/iyelee/source/resources/404-page.jpg
  15. BIN themes/iyelee/source/resources/Anki-a1.png
  16. BIN themes/iyelee/source/resources/Anki-a2.png
  17. BIN themes/iyelee/source/resources/Anki-b1.png
  18. BIN themes/iyelee/source/resources/Anki-b2.png
  19. BIN themes/iyelee/source/resources/Base16-Eighties-Dark.jpg
  20. BIN themes/iyelee/source/resources/Blame.png
  21. BIN themes/iyelee/source/resources/Codecademy-HTML.jpg
  22. BIN themes/iyelee/source/resources/EndNote-MOxFIVE.zip
  23. BIN themes/iyelee/source/resources/EndNote-Style.gif
  24. BIN themes/iyelee/source/resources/EndNote-add.gif
  25. BIN themes/iyelee/source/resources/EndNote-files.jpg
  26. BIN themes/iyelee/source/resources/EndNote-item.jpg
  27. BIN themes/iyelee/source/resources/EndNote-templates.gif
  28. BIN themes/iyelee/source/resources/Excel-Shortcut-keys.apkg
  29. BIN themes/iyelee/source/resources/Hexo评论模块.zip
  30. BIN themes/iyelee/source/resources/History.png
  31. BIN themes/iyelee/source/resources/Mihawk-Wind.gif
  32. BIN themes/iyelee/source/resources/Mihawk-s.png
  33. BIN themes/iyelee/source/resources/Mihawk.gif
  34. BIN themes/iyelee/source/resources/Mihawk.png
  35. BIN themes/iyelee/source/resources/Mihawk_530.webp
  36. BIN themes/iyelee/source/resources/Monospace.png
  37. BIN themes/iyelee/source/resources/PPT-PNG.jpg
  38. BIN themes/iyelee/source/resources/PS-GIF-1.jpg
  39. BIN themes/iyelee/source/resources/PS-GIF-2.jpg
  40. BIN themes/iyelee/source/resources/PS-PNG.jpg
  41. BIN themes/iyelee/source/resources/Raw.png
  42. BIN themes/iyelee/source/resources/Reference-Type.gif
  43. BIN themes/iyelee/source/resources/UA-label.png
  44. BIN themes/iyelee/source/resources/bilibili.gif
  45. BIN themes/iyelee/source/resources/cursive.png
  46. +343 −0 themes/iyelee/source/resources/duosuo.css
  47. +2,023 −0 themes/iyelee/source/resources/embed.js
  48. BIN themes/iyelee/source/resources/favicon.ico
  49. BIN themes/iyelee/source/resources/font-a1.png
  50. BIN themes/iyelee/source/resources/font-a2.png
  51. BIN themes/iyelee/source/resources/font-a3.png
  52. BIN themes/iyelee/source/resources/font-a4.png
  53. BIN themes/iyelee/source/resources/font-icon.png
  54. BIN themes/iyelee/source/resources/food-boy.gif
  55. BIN themes/iyelee/source/resources/qq-avatar.png
  56. BIN themes/iyelee/source/resources/root-label.png
  57. BIN themes/iyelee/source/resources/rotate.gif
  58. BIN themes/iyelee/source/resources/sans-serif.png
  59. BIN themes/iyelee/source/resources/serif.png
  60. BIN themes/iyelee/source/resources/tag-cloud.png
  61. BIN themes/iyelee/source/resources/version-control.png
  62. +14 −0 themes/iyelee/source/robots.txt
  63. +8,510 −0 themes/iyelee/source/wiki/index.html
View
@@ -0,0 +1,15 @@
### My Hexo Blog
> - Store source code of my blog: http://MOxFIVE.xyz/;
> - Build the blog via [Hexo](https://hexo.io/);
> - Use Theme: [Yilia](https://github.com/litten/hexo-theme-yilia);
> - Explain all changes in the commits.
### 我的个人博客
> - 保存博客源代码: http://MOxFIVE.xyz/;
> - 采用[Hexo](https://hexo.io/)框架搭建;
> - 使用国人litten的简洁主题:[Yilia](https://github.com/litten/hexo-theme-yilia);
> - 主题按个人需要的进行修改。
### [Hexo-Theme-Yelee](https://github.com/MOxFIVE/hexo-theme-yelee)
> 简而不减 Hexo 双栏博客主题 Another simple and elegant theme for Hexo.
View
@@ -46,7 +46,7 @@ highlight:
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
@@ -63,15 +63,16 @@ pagination_dir: page
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: iyelee
theme: iYelee
# https://github.com/litten/hexo-theme-yilia
# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
type: git
repo:
github: git@github.com:MOxFIVE/MOxFIVE.github.io.git,master
gitcafe: git@gitcafe.com:MOxFIVE/MOxFIVE.git,gitcafe-pages
type: git
repo:
github: git@github.com:MOxFIVE/MOxFIVE.github.io.git,master
gitcafe: git@gitcafe.com:MOxFIVE/MOxFIVE.git,gitcafe-pages
index_generator:
per_page: 15
@@ -82,4 +83,6 @@ archive_generator:
monthly: true
tag_generator:
per_page: 20
per_page: 20
disqus_shortname:
View
@@ -5,17 +5,16 @@
## About Page: `hexo new page about`
## Tags Cloud Page: `hexo new page tags`
menu:
主页: /
所有文章: /archives/
#随笔: /tags/随笔
所有文章: /archives
标签云: /tags/
关于我: /about/
留言板: /about/
建站日志: /2015/08/20/blog-building
# Link to your avatar | 填写头像地址
avatar: /img/avatar.png
avatar: /resources/Mihawk.png
# Small icon of Your site | 站点小图标地址
favicon: /favicon.png
favicon: /resources/favicon.ico
# If your site' url is 'http://yoursite.com/blog', set root_url as '/blog/'
# 网站若存放在子目录,请按上面格式填写
@@ -29,10 +28,10 @@ root_url:
## https://github.com/hexojs/hexo-generator-feed
subnav:
Email: "mailto:123@123.com"
#新浪微博: "sina weibo"
GitHub: "#"
#V2EX: "#"
Email: "mailto:mo10005@outlook.com"
新浪微博: //weibo.com/yemzh
GitHub: //github.com/MOxFIVE
V2EX: //www.v2ex.com/member/MOxFIVE
RSS: "/atom.xml"
#知乎: "zhihu"
#豆瓣: "douban"
@@ -42,7 +41,7 @@ subnav:
#虾米音乐: "xiami"
#Facebook: "#"
#Google: "#"
#Twitter: "#"
Twitter: "//twitter.com/MOxFE"
#LinkedIn: "#"
#QQ: "#"
#微信: "Wechat"
@@ -52,7 +51,7 @@ subnav:
#Flickr: "#"
#reddit: ""
#Medium: ""
#TiddlyWiki: ""
TiddlyWiki: "/wiki/"
#Tumblr: ""
#_500px: ""
@@ -68,8 +67,8 @@ disqus:
# you have set "disqus_shortname" in your site's "_config.yml"
duoshuo:
#on: true
domain:
on: true
domain: moxfive
# 是否开启多说评论,http://duoshuo.com/create-site/
# 使用上面网址登陆你的多说,然后创建站点,在 domain 中填入你设定的域名前半部分
# http://<要填的部分>.duoshuo.com (domain只填上<>里的内容,不要填整个网址)
@@ -91,7 +90,7 @@ youyan:
background_image: 5
highlight_style:
#on: true
on: true
inline_code: 1 # Value: 0 - 9 可选
code_block: 1 # Value: 0 - 4
# Set inline_code to style highlight text
@@ -105,7 +104,7 @@ blockquote_style:
# 自定义文章「引用部分」的样式
# 左边栏宽度 px
left_col_width: 300
left_col_width: 308
# Copyright info. of post | 文末版权信息
copyright: true
@@ -131,7 +130,7 @@ animate: true
# Load jQuery UI to style tooltips
# 工具提示框样式美化
jquery_ui: false
jquery_ui: true
# >>> Small features | 小功能设置 <<<
@@ -141,9 +140,14 @@ tagcloud: true
# Blogroll, Link exchange | 友情链接
friends:
Hexo: https://hexo.io
GitHub: https://pages.github.com/
MOxFIVE: http://moxfive.xyz/
Hexo: //hexo.io
GitHub: //pages.github.com/
Netcan: //www.netcan666.com/
Ryuu: //f2e-tlj.me/
Andy Zheng: //codinglife.in/
skyxuan: //syncshinee.github.io/
世平阜康: //luuman.github.io/
#friends: false
#是否开启“关于我”。
@@ -173,15 +177,15 @@ share: true
# 百度、谷歌站长验证。填写 HTML 标签 content
# Site Verification for Google and Baidu. HTML label content.
baidu_site:
google_site:
baidu_site: ai9YVe01DX
google_site: VR0pjVypb6rfBUkK2IJnVqqEXeB9-jZzXpZDiWa6Q18
# Fill in Google Analytics tracking ID, #e.g. UA-XXXXX-X
google_analytics:
# 百度统计 http://sitecenter.baidu.com/sc-web/
# 查看代码,填入 //hm.baidu.com/hm.js? 之后的内容
baidu_tongji:
baidu_tongji: a4938c90e05043bd9774ff12368e45aa
# 不蒜子网站计数设置
# http://ibruce.info/2015/04/04/busuanzi/
@@ -192,4 +196,4 @@ visit_counter:
# GitHub Repo Widget
# https://github.com/hustcc/GitHub-Repo-Widget.js
github_widget: false
github_widget: 1
@@ -21,6 +21,7 @@
<% } %>
<% } %>
<div class="article-entry" itemprop="articleBody">
<%- partial('post/intro') %>
<% if (index && (post.description || post.excerpt)){ %>
<% if (post.description){ %>
<%- post.description %>
@@ -91,4 +92,20 @@
yiliaConfig.fancybox = false;
<% } %>
</script>
<% } %>
<% if (index) { %>
<style>
#post-blog-building .article-tag {
display: none;
}
</style>
<% } %>
<% if (post.slug === "blog-building"){ %>
<style>
.toc-level-3 .toc-number {
display: none;
}
</style>
<% } %>
@@ -8,7 +8,7 @@
(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.src = '//moxfive.xyz/resources/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
@@ -0,0 +1,3 @@
<% if (post.note) { %>
<p class="note-intro"><strong>自用笔记:</strong>本文属于自用笔记,不做详解,仅供参考。</p>
<% } %>
@@ -4,6 +4,14 @@
<p><span>文章作者:</span><a href="/" title="访问 <%=theme.author%> 的个人博客"><%=theme.author%></a></p>
<p><span>发布时间:</span><%= post.date.format("YYYY年MM月DD日 - HH时mm分") %></p>
<p><span>最后更新:</span><%= post.updated.format("YYYY年MM月DD日 - HH时mm分") %></p>
<% if (post.backup != false){ %>
<p>
<span>更新历史:</span><i class="fa fa-github"></i>
<a href="https://github.com/MOxFIVE/Markdown-Archives-Backup/blame/master/_posts/<%= post.date.format("YYYY-MM-DD") %>.<%= post.slug %>.md" title="顺序查看文章各部分修改记录" target = "_blank">Blame</a>,
<a href="https://github.com/MOxFIVE/Markdown-Archives-Backup/commits/master/_posts/<%= post.date.format("YYYY-MM-DD") %>.<%= post.slug %>.md" title="查看文章有关更新记录" target = "_blank">History</a><span class="raw">文本模式:</span><i class="fa fa-file-text-o"></i>
<a href="https://raw.githubusercontent.com/MOxFIVE/Markdown-Archives-Backup/master/_posts/<%= post.date.format("YYYY-MM-DD") %>.<%= post.slug %>.md" title="查看 & 下载文章 Markdown 原始文本" target = "_blank"> .md Raw</a>
</p>
<% } %>
<p>
<span>原始链接:</span><a class="post-url" href="<%- url_for(post.path) %>" title="<%= post.title %>"><%= post.permalink %></a>
<span class="copy-path" data-clipboard-text="原文: <%= post.permalink %>  作者: <%=theme.author%>" title="点击复制文章链接"><i class="fa fa-clipboard"></i></span>
@@ -0,0 +1 @@
moxfive.xyz
@@ -0,0 +1,5 @@
MOxFIVE's Blog - http://moxfive.xyz
http://moxfive.github.io
http://moxfive.gitcafe.io
Binary file not shown.
@@ -150,7 +150,7 @@
color: #9c9;
}
p{
margin: .85em auto;
margin: .45em auto;
line-height: 1.7em;
font-size: 1em;
}
@@ -235,6 +235,9 @@
strong {
font-weight: bold;
}
.note-intro {
margin-left: 2em;
}
.caption{
display: block;
font-size: 0.8em;
@@ -489,7 +492,7 @@ li:hover {
.copyright {
width: 85%;
max-width: 45em;
margin: 0 auto;
margin: 1.2em auto 0;
padding: .5em 1.8em;
border: 1px solid lightgray;
font-size: .93em;
@@ -502,6 +505,9 @@ li:hover {
color: #B5B5B5;
font-weight: bold;
}
.raw {
margin-left: 1em;
}
a {
color: gray;
&:hover {
@@ -512,6 +518,9 @@ li:hover {
&:hover p .copy-path::after {
content: "复制";
}
.post-url:hover {
font-weight: normal;
}
.copy-path {
display: inline-block;
margin-left: 1em;
@@ -522,3 +531,6 @@ li:hover {
}
}
.table-area {
overflow: auto;
}
@@ -1,6 +1,6 @@
blockquote
padding .4em 20px
margin-top 10px
margin .5em auto
border-left 4px solid rgba(147, 181, 224, .4)
background rgba(255,255,255,0.4)
p
@@ -149,4 +149,6 @@ require([], function (){
$("#container .left-col .overlay").css({"background-color": colorList[id],"opacity": .3});
//移动端
$("#container #mobile-nav .overlay").css({"background-color": colorList[id],"opacity": .7});
$("table").wrap("<div class='table-area'></div>");
});
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.

0 comments on commit a15c5b1

Please sign in to comment.