Skip to content

Commit 201af48

Browse files
committed
index: Use custom layout
1 parent a57c817 commit 201af48

File tree

2 files changed

+46
-32
lines changed

2 files changed

+46
-32
lines changed

_layouts/index.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
{% include head.html %}
5+
</head>
6+
<body>
7+
{% include nav.html %}
8+
{{ content }}
9+
{% include footer.html %}
10+
{% include js.html %}
11+
</body>
12+
</html>

index.html

+34-32
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,43 @@
11
---
2-
layout: default
2+
layout: index
33
---
4-
<div class="jumbotron">
5-
<h1>Zeal</h1>
6-
<div class="row">
7-
<div class="col-md-8">
8-
<p>
9-
An offline documentation browser inspired by <a href="https://kapeli.com/dash/">Dash</a>.<br><small>Available for Linux and Windows.</small>
10-
</p>
11-
<ul>
12-
<li>
13-
Save yourself from distractions, and keep all documentation you need instantly available.
14-
</li>
15-
<li>
16-
Do not depend on your Internet connection or public Wi-Fi.
17-
</li>
18-
<li>
19-
Keep your documentation fresh with the built-in docset update system.
20-
</li>
21-
<li>
22-
Integrate Zeal with IDEA, Sublime Text, ViM, or your favourite IDE via variety of <a href="{{ site.baseurl }}/usage.html#plugins">plugins</a>.
23-
</li>
24-
<li>
25-
Enjoy open source and free software! Zeal is available under the GPLv3. Don't forget to contribute!
26-
</li>
27-
</ul>
28-
</div>
29-
<div class="col-md-4">
30-
<a href="#ssModal" class="thumbnail" data-toggle="modal" data-target="#ssModal">
31-
<img src="https://i.imgur.com/v63u1ZJ.png" class="img-responsive">
32-
</a>
4+
<div class="container">
5+
<div class="jumbotron">
6+
<h1>Zeal</h1>
7+
<div class="row">
8+
<div class="col-md-8">
9+
<p>
10+
An offline documentation browser inspired by <a href="https://kapeli.com/dash/">Dash</a>.<br><small>Available for Linux and Windows.</small>
11+
</p>
12+
<ul>
13+
<li>
14+
Save yourself from distractions, and keep all documentation you need instantly available.
15+
</li>
16+
<li>
17+
Do not depend on your Internet connection or public Wi-Fi.
18+
</li>
19+
<li>
20+
Keep your documentation fresh with the built-in docset update system.
21+
</li>
22+
<li>
23+
Integrate Zeal with IDEA, Sublime Text, ViM, or your favourite IDE via variety of <a href="{{ site.baseurl }}/usage.html#plugins">plugins</a>.
24+
</li>
25+
<li>
26+
Enjoy open source and free software! Zeal is available under the GPLv3. Don't forget to contribute!
27+
</li>
28+
</ul>
29+
</div>
30+
<div class="col-md-4">
31+
<a href="#ssModal" class="thumbnail" data-toggle="modal" data-target="#ssModal">
32+
<img src="https://i.imgur.com/v63u1ZJ.png" class="img-responsive">
33+
</a>
34+
</div>
3335
</div>
36+
<p class="text-center"><a class="btn btn-primary btn-lg" href="{{ site.baseurl }}/download.html" role="button">Download Zeal</a></p>
3437
</div>
35-
<p class="text-center"><a class="btn btn-primary btn-lg" href="{{ site.baseurl }}/download.html" role="button">Download Zeal</a></p>
3638
</div>
3739

38-
<div class="row text-center">
40+
<div class="container text-center">
3941
<h2>Zeal comes with <strong>{{ site.data.docsets | size }}</strong> awesome docsets!</h2>
4042
<ul id="docset-list" class="list-inline">
4143
{% for docset in site.data.docsets %}

0 commit comments

Comments
 (0)