From 11a63b27b2f9ed389e00381906ed697d61ab84b9 Mon Sep 17 00:00:00 2001 From: Jacks <191100479@qq.com> Date: Mon, 22 Aug 2016 01:44:47 +0800 Subject: [PATCH 1/2] add the page of study --- _config.yml | 28 +++ languages/default.yml | 1 + languages/en.yml | 1 + languages/zh-Hans.yml | 1 + layout/_layout.swig | 2 + layout/extensions/study/study.swig | 29 +++ layout/page.swig | 22 ++ source/css/_schemes/Mist/outline/outline.styl | 2 +- source/extensions/study/study.css | 215 ++++++++++++++++++ source/extensions/study/study.js | 49 ++++ 10 files changed, 349 insertions(+), 1 deletion(-) create mode 100644 layout/extensions/study/study.swig create mode 100644 source/extensions/study/study.css create mode 100644 source/extensions/study/study.js diff --git a/_config.yml b/_config.yml index f102003f4..6591af994 100755 --- a/_config.yml +++ b/_config.yml @@ -34,6 +34,7 @@ menu: archives: /archives tags: /tags #commonweal: /404.html + study: study # Enable/Disable menu icons. @@ -50,6 +51,33 @@ menu_icons: tags: tags archives: archive commonweal: heartbeat + study: graduation-cap + +# --------------------------------------------------------------- +# extensions feature Settings +# --------------------------------------------------------------- +# study 读书页面 +study: + enable: true + readed: + 我的第一本漫画炒股书: + url: https://img3.doubanio.com/lpic/s26717372.jpg + ASP.NET 4.0 动态网站开发实用教程: + url: https://img3.doubanio.com/lpic/s9078940.jpg + HTML5+CSS3精致范例辞典: + url: https://img1.doubanio.com/lpic/s24559317.jpg + 番茄工作法图解: + url: https://img3.doubanio.com/lpic/s4599081.jpg + reading: + nodejs深入浅出: + url: https://img3.doubanio.com/lpic/s27269296.jpg + JavaScript: + url: https://img3.doubanio.com/lpic/s8958650.jpg + 从你的全世界路过: + url: https://img3.doubanio.com/lpic/s27102925.jpg + want: + 四步创业法: + url: https://img3.doubanio.com/lpic/s11171520.jpg diff --git a/languages/default.yml b/languages/default.yml index 109b72cc7..91d4d4dca 100644 --- a/languages/default.yml +++ b/languages/default.yml @@ -12,6 +12,7 @@ menu: tags: Tags about: About search: Search + study: Study sidebar: overview: Overview diff --git a/languages/en.yml b/languages/en.yml index 18854ea32..45c051812 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -12,6 +12,7 @@ menu: tags: Tags about: About search: Search + study: Study sidebar: overview: Overview diff --git a/languages/zh-Hans.yml b/languages/zh-Hans.yml index 5d7e72be0..8ddf81866 100644 --- a/languages/zh-Hans.yml +++ b/languages/zh-Hans.yml @@ -13,6 +13,7 @@ menu: about: 关于 search: 搜索 commonweal: 公益404 + study: 读书 sidebar: diff --git a/layout/_layout.swig b/layout/_layout.swig index da719fcb1..a01b1fbb2 100644 --- a/layout/_layout.swig +++ b/layout/_layout.swig @@ -9,6 +9,7 @@
{% include '_partials/head.swig' %}阅读
+READING
+