wendal / gor

Golang编写的静态博客引擎
599 stars 147 forks source link

#42 的尾巴,部分文件生成的记过每次不一样 #46

Closed ifq closed 11 years ago

ifq commented 11 years ago

42 解决了每篇post里边连接可能不一样的问题,但是还有以下几个文件还有同样的问题。即使不改变内容,重新compile以下几个文件就不一样。

#
#   modified:   categories/index.html
#   modified:   rss.xml
#   modified:   tags/index.html
#

rss.xml 只是变时间戳,这个应该是正常的。

diff --git a/categories/index.html b/categories/index.html
index 58ffd40..6066397 100755
--- a/categories/index.html
+++ b/categories/index.html
@@ -88,23 +88,23 @@
 <ul class="tag_box inline">

   <li>
-  <a href="/categories/#woodworking-ref">woodworking <span>15</span></a>
+  <a href="/categories/#legacy-ref">legacy <span>279</span></a>
 </li>

   <li>
-  <a href="/categories/#octopress-ref">octopress <span>2</span></a>
+  <a href="/categories/#binary-ref">binary <span>12</span></a>
 </li>

   <li>
-  <a href="/categories/#IEEE802.11-ref">IEEE802.11 <span>1</span></a>
+  <a href="/categories/#orgmode-ref">orgmode <span>2</span></a>
 </li>
diff --git a/tags/index.html b/tags/index.html
index c9798ab..71eb850 100755
--- a/tags/index.html
+++ b/tags/index.html
@@ -104,7 +104,7 @@
 </li>

   <li>
-  <a href="/tags/#alaskan-sawmill-ref">alaskan sawmill <span>1</span></a>
+  <a href="/tags/#gor-ref">gor <span>1</span></a>
 </li>

   <li>
@@ -124,7 +124,7 @@
 </li>

   <li>
-  <a href="/tags/#gor-ref">gor <span>1</span></a>
+  <a href="/tags/#alaskan-sawmill-ref">alaskan sawmill <span>1</span></a>
 </li>
wendal commented 11 years ago

嗯, tags 和 categories的排序问题, 留意到了, 想想怎么改哦