-
Notifications
You must be signed in to change notification settings - Fork 16
/
faq.html
55 lines (55 loc) · 1.4 KB
/
faq.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
layout: default
title: faq
---
<a id="top"></a>
<section id="faq">
<div class="container">
<div class="section-heading">
<h1 class="title">Frequently Asked Questions</h1>
</div>
<div class="row">
<div class="col-sm-4">
<div id="side_nav" class="side-nav" data-spy="affix">
<h2 class="side-nav-title">FAQs</h2>
{% assign sorted_faq = site.faq_questions | sort: "num" %}
<ul class="nav faq-nav" id="faq_nav">
{% for q in sorted_faq %}
<li><a href="#faq{{ q.num }}">{{ q.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="col-sm-8">
<hr class="hidden-md-up">
<ul class="faqs">
{% for q in sorted_faq %}
<li id="faq{{q.num}}">
<p class="faq-title title">
{{ q.title }}
</p>
<div class="faq-answer">
{% for para in q.paragraphs %}
<p>{{ para.p }}</p>
{% endfor %}
<p><a href="#top" class='back-to-top'>Back to top</a></p>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</section><!-- /.main -->
<script>
$(document).ready(function() {
$('#side_nav').affix({
offset: {
top: 85,
bottom: function () {
return ($('footer').outerHeight(true))
}
}
})
});
</script>