fix a bug about wrong link

This commit is contained in:
Zou Runyang 2013-12-17 18:34:27 +08:00
parent 90204cbd97
commit 2292f79c98

View File

@ -27,7 +27,7 @@
{% if page.link %} {% if page.link %}
<h1 class="entry-title" itemprop="name"><a href="{{ page.link }}">{{ page.title }}</a></h1> <h1 class="entry-title" itemprop="name"><a href="{{ page.link }}">{{ page.title }}</a></h1>
{% else %} {% else %}
<h1 class="entry-title" itemprop="name"><a href="{{ page.url }}" rel="bookmark" title="{{ page.title }}" itemprop="url">{{ page.title }}</a></h1> <h1 class="entry-title" itemprop="name"><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}" itemprop="url">{{ page.title }}</a></h1>
{% endif %} {% endif %}
<h2>{{ page.date | date: "%B %d, %Y" }}</h2> <h2>{{ page.date | date: "%B %d, %Y" }}</h2>
</div><!-- /.header-title-wrap --> </div><!-- /.header-title-wrap -->