Make external TOC links open in new tab; incremental build; better .gitignore

This commit is contained in:
johndmulhausen
2016-02-13 11:58:00 -08:00
parent 8cc6e646fd
commit e8720d74f0
7 changed files with 9 additions and 15 deletions
+2 -2
View File
@@ -2,5 +2,5 @@
<div class="item" data-title="{{ item.title }}">
<div class="container">{% assign tree = item.section %}{% include tree.html %}
</div>
</div>{% else %}
<a class="item" data-title="{{ item.title }}" href="{{ item.path }}" ></a>{% endif %}{% endfor %}
</div>{% else %}{% assign prefix = item.path | slice: 0, 4 %}{% if prefix == "http" %}{% assign target=" target='_blank'" %}{% else %}{% assign target="" %}{% endif %}
<a class="item" data-title="{{ item.title }}" href="{{ item.path }}"{{ target }}></a>{% endif %}{% endfor %}