forked from bitwarden/help
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (73 loc) · 2.96 KB
/
index.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
layout: default
title: Help Center
---
{% assign sorted_articles = site.articles | sort: 'title' %}
<div class="container main">
<div class="row">
<div class="col-md-8">
<div class="panel panel-secondary articles">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-star-o"></i> Popular Articles</h3>
</div>
<div class="panel-body">
<ul class="fa-ul">
{% for article in sorted_articles %}
{% if article.popular == true and article.hidden != true %}
<li>
<i class="fa-li fa fa-file-text-o"></i>
<a href="{{site.baseurl}}{{article.url}}">{{article.title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% for category in site.categories %}
{% if category.hidden != true %}
<div class="panel panel-default articles">
<div class="panel-heading">
<h3 class="panel-title">
<a href="{{site.baseurl}}{{category.url}}">
<i class="fa fa-folder-open-o"></i> {{category.title}}
</a>
</h3>
</div>
<div class="panel-body">
<ul class="fa-ul">
{% for article in sorted_articles %}
{% assign catFilename = category.path | filename %}
{% if article.categories contains catFilename and article.hidden != true %}
<li>
<i class="fa-li fa fa-file-text-o"></i>
<a href="{{site.baseurl}}{{article.url}}">{{article.title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class="col-md-4">
{% include contact.html %}
<div class="panel panel-default articles" style="margin-bottom: 0;">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-list-alt"></i> Categories</h3>
</div>
<div class="panel-body small">
<ul>
{% for category in site.categories %}
{% if category.hidden != true %}
<li>
<a href="{{site.baseurl}}{{category.url}}">{{category.title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>