-
Notifications
You must be signed in to change notification settings - Fork 21
/
knowledge-base.html
82 lines (77 loc) · 2.66 KB
/
knowledge-base.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
75
76
77
78
79
80
81
82
---
title: Knowledge Base
heading: Knowledge Base
description: Knowledge Base Portal
is_search_page: true
sitemap: false
slug: knowledge_base
editable: false
kb_portal_root: true
isNew: true
position: 1100
published: True
res_type: kb
---
<div class="container-fluid headbanner">
<div class="row">
<div class=" col-sm-10 col-sm-offset-1 col-lg-offset-2">
<div class="row mt-40">
<div class="col-sm-12">
<article>
<h1>{{ page.heading }}</h1>
<div class="local-search mt-20">
<script>
gcsInstance = '{{site.gcs_engine}}';
gcsKey = '{{site.gcs_api_key}}';
var isKbPortalRoot = true;
siteHasKbPortal = true;
isKbPage = true;
hasApiReference = {% if site.has_api_reference != false %} true {% else %} false {% endif %};
</script>
<script src="{{site.baseurl}}/assets/jquery.js?{{randomNumber}}" ></script>
<script src="{{site.baseurl}}/assets/bootstrap.min.js?{{randomNumber}}" ></script>
<script src="{{site.baseurl}}/assets/main.js?{{randomNumber}}" ></script>
<script src="{{site.baseurl}}/assets/knowledge-base.js?{{randomNumber}}" ></script>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid mt-30 mb-80">
<div class="row">
<div class="col-sm-10 col-sm-offset-1 col-lg-offset-2">
<div class="row">
<div class="col-sm-12">
<div id="search-container" style="display: none">
<div class="results-message mb-5"></div>
<div id="results" class="mb-20">
</div>
<div class="site-pager"></div>
</div>
<div id="no-results" style="display: none">
<h1>Sorry,</h1>
<h2>There were no results found. Maybe try a broader search or:</h2>
<ul class="list-unstyled">
<li>Make sure all words are spelled correctly.</li>
<li>Try different keywords.</li>
<li>Try more general keywords.</li>
<li class="mt-30"><a href="javascript:history.back()" class="go-back">{% include icons/arrow-left.svg %} Go back</a></li>
</ul>
</div>
<script type="text/x-kendo-template" id="results-template">
<div>
<h2><a href="#= url #">#= title #</a></h2>
<p>#= excerpt #</p>
<p><a href="#= url #">#= url #</a></p>
</div>
</script>
{% if site.old_kb_portal_link %}
Older KB articles can be found <a target="_blank" href="{{ site.old_kb_portal_link }}">here</a>.
{% endif %}
</div>
</div>
</div>
</div>
</div>