From 6604e064cf75ebe0042eba95c14fd096bab03fef Mon Sep 17 00:00:00 2001 From: hi-caicai Date: Tue, 12 Jul 2016 16:17:43 +0800 Subject: [PATCH] bug fix --- 404.jade | 2 +- about.jade | 44 +++++++++++++++++++++++++++++--------------- base.jade | 7 ++++++- links.jade | 6 ++++++ mixins.jade | 2 +- style/css/style.scss | 15 ++++++++++++++- 6 files changed, 57 insertions(+), 19 deletions(-) create mode 100644 links.jade diff --git a/404.jade b/404.jade index c30cd6b..7f3cd24 100755 --- a/404.jade +++ b/404.jade @@ -3,4 +3,4 @@ html title Not Found +load('/template/style/css/style.scss') .page_404 - p 404 Not Found \ No newline at end of file + p The page you are looking for is missing \ No newline at end of file diff --git a/about.jade b/about.jade index 8d7b680..b1b6f09 100644 --- a/about.jade +++ b/about.jade @@ -3,27 +3,41 @@ block content .autopagerize_page_element:.content .about.animated.fadeInDown h3 是我 - p 对,你现在看到的这个家伙,就是我,设计湿,当得了视觉,撸的起交互,还能偷偷改几行代码~ + p 对, 你现在看到的这个家伙, 就是我, 设计湿, 当得了视觉, 撸的起交互, 还能偷偷改几行代码~ h3 自嘲 p - | 经常嬉笑自嘲,假装不靠谱. - | 早就已经不是少年,但却是满腔少年心气. + | 经常嬉笑自嘲, 假装不靠谱. + p + | 早已不是少年但, 却是满腔少年心气. h3 热爱 p - | 热爱我的职业是这辈子最幸福的事情,虽挖过的坑比填的坑还多,但乐此不疲. + | 热爱我的职业是这辈子最幸福的事情, 虽挖过的坑比填的坑还多, 但乐此不疲. h3 玩儿 p - | 玩,什么都玩,拼命的玩,新鲜每一天,人称“app疯子”,手机内多达300多app来回摆弄~,拍的照片不怎么样,却老喜欢强迫别人拿去当壁纸! - h3 硬广 - p - | 如果需要老博客主题,请访问:http://old.cai-cai.me - p - | 主题Cais,如需要请访问farbox模版页面,预览地址: - a(href="http://cais.cai-cai.me") 点我点我~ - p - | 博客目前主题取名Anatole,预览地址: - a(href="http://anatole.cai-cai.me") 点我点我~ + | 玩, 什么都玩, 拼命的玩, 新鲜每一天,永远在打鸡血. h3 联系 p - | 任何问题,欢迎给我发邮件(hi#cai-cai.me #=@),或者@我~~ + | 喜欢交朋友, 欢迎给我发邮件(hi#cai-cai.me #=@), 或者 twitter上 @我~~ + p + | 工作联系, 直接发邮件~ 24小时内回复~ + + h3 硬广 + p + a(href="https://g2.alipay.com/") G2 + | - 一套图形语法 + p + a(href="https://github.com/hi-caicai/farbox-theme-cais") Cais + | - 一套 Farbox 博客主题 + p + a(href="https://github.com/hi-caicai/farbox-theme-Anatole") Anatole + | - 一套 Farbox 博客主题 + p + a(href="http://ant.design/") Ant Design + | - A design language + p + a(href="http://ux.ant.design/") Ant UX + | - 一套页面逻辑的素材库 + p + a(href="https://github.com/hi-caicai/cms.js-themes") cms.js-themes + | 一套CMS.JS 主题 \ No newline at end of file diff --git a/base.jade b/base.jade index 6323d1d..e34b56f 100755 --- a/base.jade +++ b/base.jade @@ -41,7 +41,7 @@ html i.fa.fa-instagram if site.configs.dribbble li - a(href="https://dribbbble.com/{{site.configs.dribbble}}") + a(href="https://dribbble.com/{{site.configs.dribbble}}") i.fa.fa-dribbble if site.configs.weibo li @@ -71,6 +71,11 @@ html a.current(href="/archive") Archive else a(href="/archive") Archive + li + if request.url_without_host=='/links' + a.current(href="/links") Links + else + a(href="/links") Links .information .back_btn li diff --git a/links.jade b/links.jade new file mode 100644 index 0000000..1572725 --- /dev/null +++ b/links.jade @@ -0,0 +1,6 @@ +extends base.jade +block content + .autopagerize_page_element:.content + .links.animated.fadeInDown + p 如果需要Links页面,修改下面的链接。如果不需要,请到 base.jade 删除相关代码 + a(herf="https://www.caicai.me") www.caicai.me \ No newline at end of file diff --git a/mixins.jade b/mixins.jade index d561ca3..92407be 100755 --- a/mixins.jade +++ b/mixins.jade @@ -12,7 +12,7 @@ mixin make_post(post, is_detail=False) .post-content= post.content.limit(200).no_pic .post-footer:.meta .info - i.fa.fa-calendar + i.fa.fa-sun-o span.date= post.date.format("%Y-%m-%d") if site.configs.disqus i.fa.fa-comment-o diff --git a/style/css/style.scss b/style/css/style.scss index f6ebe07..cc8a022 100755 --- a/style/css/style.scss +++ b/style/css/style.scss @@ -584,6 +584,16 @@ a:hover, a:active { font-size: 22px; } } +/* links*/ +.links{ + margin: 30px; + h3{ + font-size: 22px; + } + a{ + cursor: pointer; + } +} /* 评论样式 */ .comment-count { @@ -730,7 +740,10 @@ a.btn { } - +.page_404{ + text-align:center; + padding-top:50px; +} @media screen and (max-width: 960px) { .sidebar { width: 100%;