blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit f71aaa36504a93388843e71e835dab3d575caaf1
parent 7fab9e36806700a9bf3e0c7f04760e4392640ffb
Author: Shimmy Xu <shimmy.america@gmail.com>
Date:   Sun, 27 Aug 2017 20:53:45 -0700

Added some fixed pages like messages and friends.

Diffstat:
Mconfig.toml | 50+++++++++++++++++++++++++++++++++++---------------
Acontent/Messages.en.md~ | 6++++++
Mcontent/_index.en.md | 27+--------------------------
Mcontent/_index.zh.md | 30++++--------------------------
Mcontent/about.en.md | 20+++++++++++++++++---
Mcontent/about.zh.md | 17+++++++++++++----
Acontent/friends.en.md | 18++++++++++++++++++
Acontent/friends.md~ | 6++++++
Acontent/friends.zh.md | 18++++++++++++++++++
Acontent/messages.en.md | 9+++++++++
Acontent/messages.zh.md | 9+++++++++
Mcontent/post/Hello-World.zh.md | 2+-
Mcontent/post/The-Plan.zh.md | 4++--
Astatic/img/fixed/friends.jpg | 0
14 files changed, 139 insertions(+), 77 deletions(-)
diff --git a/config.toml b/config.toml
@@ -13,10 +13,6 @@ DefaultContentLanguageInSubdir = true
 [permalinks]
     post = "/post/:year/:month/:day/:slug/"
 
-[params]
-    description = "The greatest library ever."
-    footer = "&copy; [Shimmy Xu](http://shimmy1996.com) 2017 | [Github](https://github.com/shimmy1996) | [Twitter](https://twitter.com/shimmy1996) | [Subscribe](index.xml)"
-
 [author]
 name                    = "Shimmy Xu"
 github                  = "shimmy1996"
@@ -26,19 +22,24 @@ twitter                 = "shimmy1996"
 [Languages.en]
 title                   = "Trantor Library"
 subtitle                = "The Plan is going on."
+
+[Languages.en.params]
+    description = "The greatest library ever."
+    footer = "&copy; [Shimmy Xu](http://shimmy1996.com) 2017 | [Github](https://github.com/shimmy1996) | [Twitter](https://twitter.com/shimmy1996) | [Subscribe](/en/index.xml)"
+
 [Languages.en.navigation]
 about                   = "About"
 
 [[Languages.en.menu.main]]
     name = "Home"
-    url = "/"
+    url = "/en/"
     weight = 1
 [[Languages.en.menu.main]]
     name = "About"
     url = "/en/about/"
     weight = 2
 [[Languages.en.menu.main]]
-    name = "Post"
+    name = "Posts"
     url = "/en/post/"
     weight = 3
 [[Languages.en.menu.main]]
@@ -50,9 +51,17 @@ about                   = "About"
     url = "/en/categories/"
     weight = 5
 [[Languages.en.menu.main]]
-    name = "ZH"
-    url = "/zh/"
+    name = "Friends"
+    url = "/en/friends/"
     weight = 6
+[[Languages.en.menu.main]]
+    name = "Messages"
+    url = "/en/messages/"
+    weight = 7
+[[Languages.en.menu.main]]
+    name = "中文"
+    url = "/zh/"
+
 
 [Languages.zh]
 title                   = "川坨图书室"
@@ -61,27 +70,38 @@ subtitle                = "计划进行中。"
 [Languages.zh.navigation]
 about                   = "关于"
 
+[Languages.zh.params]
+    description = "The greatest library ever."
+    footer = "&copy; [Shimmy Xu](http://shimmy1996.com) 2017 | [Github](https://github.com/shimmy1996) | [Twitter](https://twitter.com/shimmy1996) | [订阅](/zh/index.xml)"
+
 [[Languages.zh.menu.main]]
-    name = "AZh"
-    url = "/"
+    name = "主页"
+    url = "/zh/"
     weight = 1
 [[Languages.zh.menu.main]]
-    name = "About"
+    name = "关于"
     url = "/zh/about/"
     weight = 2
 [[Languages.zh.menu.main]]
-    name = "Post"
+    name = "归档"
     url = "/zh/post/"
     weight = 3
 [[Languages.zh.menu.main]]
-    name = "Tags"
+    name = "标签"
     url = "/zh/tags/"
     weight = 4
 [[Languages.zh.menu.main]]
-    name = "Categories"
+    name = "分类"
     url = "/zh/categories/"
     weight = 5
 [[Languages.zh.menu.main]]
+    name = "朋友们"
+    url = "/zh/friends/"
+    weight = 6
+[[Languages.zh.menu.main]]
+    name = "留言板"
+    url = "/zh/messages/"
+    weight = 7
+[[Languages.zh.menu.main]]
     name = "EN"
     url = "/en/"
-    weight = 6
diff --git a/content/Messages.en.md~ b/content/Messages.en.md~
@@ -0,0 +1,6 @@
+---
+title: "Messages"
+date: 2017-08-27T19:40:16-07:00
+draft: true
+---
+
diff --git a/content/_index.en.md b/content/_index.en.md
@@ -2,32 +2,7 @@
 title: Home
 ---
 
-[<img src="https://simpleicons.org/icons/github.svg" style="max-width:15%;min-width:40px;float:right;" alt="Github repo" />](https://github.com/shimmy1996)
-
 # Trantor Library
-
-## _The Plan needs to go on._
-
-```
-       5 ./layouts/404.html
-      18 ./layouts/_default/list.html
-      12 ./layouts/_default/single.html
-      16 ./layouts/_default/terms.html
-       0 ./layouts/partials/foot_custom.html
-       9 ./layouts/partials/footer.html
-       0 ./layouts/partials/head_custom.html
-      20 ./layouts/partials/header.html
-       7 ./static/css/fonts.css
-      50 ./static/css/style.css
-     137 total
-```
-
-I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.
-
-Although it is a minimal theme, it is actually fully functional. It supports pages (including the home page), blog posts, a navigation menu, categories, tags, and RSS. With [a little bit customization](https://github.com/yihui/hugo-xmin/blob/master/exampleSite/layouts/partials/foot_custom.html), it can easily support LaTeX math expressions, e.g.,
-
-`$${\sqrt {n}}\left(\left({\frac {1}{n}}\sum _{i=1}^{n}X_{i}\right)-\mu \right)\ {\xrightarrow {d}}\ N\left(0,\sigma ^{2}\right)$$`
-
-All pages not under the root directory of the website are listed below. You can also visit the list page of a single section, e.g., [posts](/post/), or [notes](/note/). See the [About](/about/) page for the usage of this theme.
+_The Plan needs to go on._
 
 ## Recent Posts 
\ No newline at end of file
diff --git a/content/_index.zh.md b/content/_index.zh.md
@@ -2,30 +2,7 @@
 title: Home
 ---
 
-[<img src="https://simpleicons.org/icons/github.svg" style="max-width:15%;min-width:40px;float:right;" alt="Github repo" />](https://github.com/shimmy1996)
+# 川坨大学图书室
+_计划进行中_
 
-# Trantor Library in Chinese
-
-## _The Plan needs to go on._
-
-```
-       5 ./layouts/404.html
-      18 ./layouts/_default/list.html
-      12 ./layouts/_default/single.html
-      16 ./layouts/_default/terms.html
-       0 ./layouts/partials/foot_custom.html
-       9 ./layouts/partials/footer.html
-       0 ./layouts/partials/head_custom.html
-      20 ./layouts/partials/header.html
-       7 ./static/css/fonts.css
-      50 ./static/css/style.css
-     137 total
-```
-
-I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.
-
-Although it is a minimal theme, it is actually fully functional. It supports pages (including the home page), blog posts, a navigation menu, categories, tags, and RSS. With [a little bit customization](https://github.com/yihui/hugo-xmin/blob/master/exampleSite/layouts/partials/foot_custom.html), it can easily support LaTeX math expressions, e.g.,
-
-`$${\sqrt {n}}\left(\left({\frac {1}{n}}\sum _{i=1}^{n}X_{i}\right)-\mu \right)\ {\xrightarrow {d}}\ N\left(0,\sigma ^{2}\right)$$`
-
-All pages not under the root directory of the website are listed below. You can also visit the list page of a single section, e.g., [posts](/post/), or [notes](/note/). See the [About](/about/) page for the usage of this theme.
+## 最新日志+
\ No newline at end of file
diff --git a/content/about.en.md b/content/about.en.md
@@ -1,7 +1,21 @@
 ---
 title: "About"
-date: 2017-08-25T21:55:58-05:00
+slug: "about"
 draft: false
 ---
 
-Hello World-
\ No newline at end of file
+## About me:
+
+Actively searching for the ultimate answer to the universe. 
+
+No longer a fan of the slow and clunky Wordpress, I switched to Hugo.
+
+Most of my social network accounts use the name ```shimmy1996```.
+
+## About this site:
+
+Up and running since July 12th, 2014. 
+
+<a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" rel="license"><img style="border-width: 0;" src="https://i2.wp.com/i.creativecommons.org/l/by-nc-sa/4.0/88x31.png?w=960&#038;ssl=1" alt="Creative Commons License" data-recalc-dims="1" /></a>
+
+This site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.+
\ No newline at end of file
diff --git a/content/about.zh.md b/content/about.zh.md
@@ -1,7 +1,16 @@
 ---
-title: "About"
-date: 2017-08-25T21:55:58-05:00
+title: "关于"
+slug: "about"
 draft: false
 ---
 
-Hello World in Chinese.-
\ No newline at end of file
+## 关于博主:
+
+EE狗,目前在德州放牛;技术渣,~~WP~~Hugo新手;ACG相关;喜欢硬件但是没有小钱钱;足迹可能遍布各大社交网站,通常名字为shimmy1996;求友链XDD。
+
+## 关于本站:
+建于2014年7月12日,用来放各种奇怪的东西。
+
+<a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" rel="license"><img style="border-width: 0;" src="https://i2.wp.com/i.creativecommons.org/l/by-nc-sa/4.0/88x31.png?w=960&#038;ssl=1" alt="Creative Commons License" data-recalc-dims="1" /></a>
+
+This site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.+
\ No newline at end of file
diff --git a/content/friends.en.md b/content/friends.en.md
@@ -0,0 +1,17 @@
+---
+title: "Friends"
+slug: "friends"
+draft: false
+---
+
+<img src="/img/fixed/friends.jpg"/>
+
+Welcome to the friendly neighborhood of Library of Trantor!
+
+[Z](http://iiiid.com)
+
+[Uucky](http://uucky.me)
+
+[比尔盖子](https://biergaizi.info)
+
+[Vacuuny/A2Clef](http://a2clef.com)+
\ No newline at end of file
diff --git a/content/friends.md~ b/content/friends.md~
@@ -0,0 +1,6 @@
+---
+title: "Friends"
+date: 2017-08-27T20:11:20-07:00
+draft: true
+---
+
diff --git a/content/friends.zh.md b/content/friends.zh.md
@@ -0,0 +1,17 @@
+---
+title: "朋友们"
+slug: "friends"
+draft: false
+---
+
+<img src="/img/fixed/friends.jpg"/>
+
+这里会添加朋友们的站点链接!
+
+[Z](http://iiiid.com)
+
+[Uucky](http://uucky.me)
+
+[比尔盖子](https://biergaizi.info)
+
+[Vacuuny/A2Clef](http://a2clef.com)+
\ No newline at end of file
diff --git a/content/messages.en.md b/content/messages.en.md
@@ -0,0 +1,9 @@
+---
+title: "Messages"
+slug: "messages"
+draft: false
+---
+
+Hello and welcome!
+
+In case you want fancy profile pics, just like everyone else, please register at [Disqus](https://disqus.com/).
diff --git a/content/messages.zh.md b/content/messages.zh.md
@@ -0,0 +1,9 @@
+---
+title: "留言板"
+slug: "messages"
+draft: false
+---
+
+欢迎版聊!
+
+没有头像?请到~~Gravatar设置~~注册[Disqus](https://disqus.com/)账户。
diff --git a/content/post/Hello-World.zh.md b/content/post/Hello-World.zh.md
@@ -1,5 +1,5 @@
 ---
-title: "Hello World"
+title: "你好世界"
 date: 2017-08-25T21:57:21-05:00
 draft: false
 ---
diff --git a/content/post/The-Plan.zh.md b/content/post/The-Plan.zh.md
@@ -1,8 +1,8 @@
 ---
-title: "The Plan"
+title: "计划"
 date: 2017-08-26T09:53:10-07:00
 draft: false
 ---
 
-我是世界上最强大的人。
+这也是计划的一部分。
 
diff --git a/static/img/fixed/friends.jpg b/static/img/fixed/friends.jpg
Binary files differ.