-
Notifications
You must be signed in to change notification settings - Fork 2
/
tools.html
34 lines (33 loc) · 1.22 KB
/
tools.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
layout: default
---
<div class="row">
<div class="small-12 columns small-centered" id="home">
<dl class="accordion" data-accordion>
<dd class="accordion-navigation">
<a id="welcomeheader" href="#welcome"><i class="fa fa-info-circle"></i>Recommended Foundertools</a>
<div id="welcome" class="content active">
{% capture tooltext %}{% include tool.md %}{% endcapture %}
{{ tooltext | markdownify }}
</div>
</dd>
{% for post in site.posts %}
{% assign print = "false" %}
{% for layout in site.special-layouts %}
{% if post.layout contains layout %}
{% assign print = "true" %}
{% endif %}
{% endfor %}
{% if print == "true" %}
<dd class="accordion-navigation">
<a href="#panel{{ forloop.index }}" onclick="ga('send', 'event', 'Reading', 'Expand Tool', '{{ post.title | slugify }}')"><i class="fa fa-angle-right"></i><i class="fa fa-angle-down"></i>{{ post.title }}</a>
<div id="panel{{ forloop.index }}" class="content">
{{ post.content }}
<p> Check it out {% if post.html %}here: {{ post.html }}{% elsif post.link %}<a href="{{ post.link }}">here.</a>{% endif %}</p>
</div>
</dd>
{% endif %}
{% endfor %}
</dl>
</div>
</div>