From 5fa62c821d22b7970f00516d4a2b3dfc5a3599d4 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 1 May 2014 11:59:44 -0400 Subject: [PATCH] Doing away with categories and tags --- _layouts/post.html | 15 +-------------- categories.html | 32 -------------------------------- tags.html | 37 ------------------------------------- 3 files changed, 1 insertion(+), 83 deletions(-) delete mode 100644 categories.html delete mode 100644 tags.html diff --git a/_layouts/post.html b/_layouts/post.html index 307f7a7..ba58e8f 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -10,21 +10,8 @@ layout: default Posted: {{ page.date | date:"%Y-%m-%d" }} + by {{ page.author }} - - - Categories: - {% for cat in page.categories %} - {{ cat }} - {% endfor %} - - - - Tags: - {% for tag in page.tags %} - {{ tag }} - {% endfor %} -
{{ content }} diff --git a/categories.html b/categories.html deleted file mode 100644 index d6927db..0000000 --- a/categories.html +++ /dev/null @@ -1,32 +0,0 @@ ---- -layout: page -title: 文章分类 ---- - -
-
    - {% for cat in site.categories %} -
  • - {{ cat[1].size }} - {{ cat[0] }} -
  • - {% endfor %} -
-
- -
-{% for cat in site.categories %} -
-

{{ cat[0] }}

-
    - {% for post in cat[1] %} -
  • - {{ post.date | date:"%Y年%m月%d日" }} - {{post.title}} -
  • - {% endfor %} -
-
-{% endfor %} -
- diff --git a/tags.html b/tags.html deleted file mode 100644 index d8f4044..0000000 --- a/tags.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -layout: page -title: 文章标签 ---- - -
- {% for tag in site.tags %} - {{ tag[0] }}{{ tag[1].size }} - {% endfor %} -
-
-{% for tag in site.tags %} -
-

{{ tag[0] }}

-
    - {% for post in tag[1] %} -
  • - {{ post.date | date:"%Y年%m月%d日" }} - {{post.title}} -
  • - {% endfor %} -
-
-{% endfor %} -
- - - -