summary refs log tree commit diff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html
index bb69bc7..32a4b78 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@ layout: default
 title: 首页 - 我的文章
 ---
 {% if paginator.page == 1 %}<div class="hslice" id="LatestPost">{% endif %}
-<h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
+<h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> <!--[if !IE]> --> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a> <!-- <![endif]--> </small><br /><br />
 
 <hr />
 
@@ -14,7 +14,9 @@ title: 首页 - 我的文章
     <h2><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
   <p class="author">
     <span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
+    <!--[if !IE]> -->
     | Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
+    <!-- <![endif]-->
   </p>
   <div class="content">
     {{ post.excerpt | strip_html | strip_newlines }}