forked from mdonahue/portal-minimum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·64 lines (62 loc) · 3.04 KB
/
index.html
File metadata and controls
executable file
·64 lines (62 loc) · 3.04 KB
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
---
layout: page
---
<div class="jumbotron" style="padding-bottom: 5px;">
<div class="container">
<a href="{{ site.portal_url }}/apis.json" target="_blank"><img src="https://s3.amazonaws.com/kinlane-productions/bw-icons/api-commons-icon.png" width="60" align="right" title="APIs.json" style="padding-top: 70px;" /></a>
<h3>{{ site.portal_name }}</h3>
<p>{{ site.portal_description }}</p>
{% if site.getting_started.active == true %}<p><a class="btn btn-primary btn-lg" href="/getting-started/" role="button">Getting Started »</a></p>{% endif %}
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-4">
<h4>Latest Blog</h4>
<ul>
{% for post in site.posts limit:3 %}
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
<div class="col-md-4">
<h4>APIs (Full Documentation)</h4>
<ul>
{% for path in site.api.paths limit:25 %}
{% assign path_name = path[0] %}
{% assign path_detail = path[1] %}
{% for verb in path_detail %}
{% assign verb_name = verb[0] %}
{% assign verb_detail = verb[1] %}
<li><a href="/documentation/#{{ post.url }}">{{ path_name }}</a> ({{ verb_name | upcase }})</li>
{% endfor %}
{% endfor %}
</ul>
</div>
<div class="col-md-4">
<h4>{{ site.self_service_support.title }}</h4>
<ul>
{% if site.self_service_support.github_issues_url %}<li><a href="{{ site.self_service_support.github_issues_url }}">{{ site.self_service_support.github_issues_label }}</a></li>{% endif %}
{% if site.self_service_support.email %}<li><a href="{{ site.self_service_support.forum_url }}">{{ site.self_service_support.forum_label }}</a></li>{% endif %}
{% if site.self_service_support.stack_exchange_url %}<li><a href="{{ site.self_service_support.stack_exchange_url }}">{{ site.self_service_support.stack_exchange_label }}</a></li>{% endif %}
</ul>
</div>
</div>
<hr>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<center>
<div class="col-md-12">
{% if site.code.sdks.php_url %}<a href="{{ site.code.sdks.php_url }}"><i class="devicon-php-plain"></i></a>{% endif %}
{% if site.code.sdks.python_url %}<a href="{{ site.code.sdks.python_url }}"><i class="devicon-python-plain"></i></a>{% endif %}
{% if site.code.sdks.javascript_url %}<a href="{{ site.code.sdks.javascript_url }}"><i class="devicon-javascript-plain"></i></a>{% endif %}
{% if site.code.sdks.java_url %}<a href="{{ site.code.sdks.java_url }}"><i class="devicon-java-plain"></i></a>{% endif %}
{% if site.code.sdks.csharp_url %}<a href="{{ site.code.sdks.csharp_url }}"><i class="devicon-csharp-plain"></i></a>{% endif %}
{% if site.code.sdks.go_url %}<a href="{{ site.code.sdks.go_url }}"><i class="devicon-go-plain"></i></a>{% endif %}
{% if site.code.sdks.ruby_url %}<a href="{{ site.code.sdks.ruby_url }}"><i class="devicon-ruby-plain"></i></a>{% endif %}
</div>
</center>
</div>
</div>
<hr>