Merge branch 'master' into master

This commit is contained in:
Aaron.L.Xu
2016-12-23 19:40:51 +08:00
committed by GitHub
54 changed files with 286 additions and 192 deletions
+1 -2
View File
@@ -11,7 +11,6 @@
{% if item.path %}
{% assign path = item.path %}
{% assign title = item.title %}
{% assign target = " target='_blank'" %}
{% else %}
{% assign page = site.pages | where: "path", item | first %}
{% assign title = page.title %}
@@ -20,7 +19,7 @@
{% endcapture %}
{% if path %}
<a class="item" data-title="{{ title }}" href="{{ path }}"{{ target }}></a>
<a class="item" data-title="{{ title }}" href="{{ path }}"></a>
{% endif %}
{% endif %}
{% endfor %}