Skip to content

Commit 10743f7

Browse files
committed
Add a Tools page
Put on the homepage and in the sidebar Signed-off-by: Julia Evans <[email protected]>
1 parent 1c5a4ea commit 10743f7

File tree

7 files changed

+76
-3
lines changed

7 files changed

+76
-3
lines changed

content/tools/_index.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
section: "tools"
3+
title: "Git - Tools"
4+
url: /tools.html
5+
---
6+
7+
<div id="main">
8+
9+
<h1> Tools </h1>
10+
11+
<p>
12+
The Git community has built a huge number of tools to make it easier to use Git.
13+
While you can use Git on its own, most Git users use some of these extra tools.
14+
There are editor integrations, GUIs, tools for resolving merge conflicts,
15+
hosting services, and much more.
16+
</p>
17+
18+
<div class="callout icon">
19+
<a href="{{< relurl "tools/command-line">}}">
20+
<img alt="Terminal icon" aria-hidden="true" src="{{< relurl "images/icons/fa-terminal.svg">}}" >
21+
<h3> Command Line Tools </h3>
22+
</a>
23+
24+
<p>
25+
Tools to view and manipulate your Git history
26+
</p>
27+
</div>
28+
29+
<div class="callout icon">
30+
<a href="{{< relurl "tools/guis">}}">
31+
<img alt="Desktop icon" aria-hidden="true" src="{{< relurl "images/icons/fa-desktop.svg">}}" >
32+
<h3> GUIs </h3>
33+
</a>
34+
35+
<p>
36+
Graphical user interfaces and editor integrations
37+
</p>
38+
</div>
39+
40+
<div class="callout icon">
41+
<a href="{{< relurl "tools/hosting">}}">
42+
<img alt="Cloud icon" aria-hidden="true" src="{{< relurl "images/icons/fa-cloud.svg">}}" >
43+
<h3> Hosting </h3>
44+
</a>
45+
46+
<p>
47+
Git repository hosting
48+
</p>
49+
</div>
50+
</div>

layouts/partials/sidebar.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,27 @@
3535
</li>
3636
</ul>
3737
</li>
38+
39+
<li>
40+
<a href="{{ relURL "tools" }}"{{ if (eq $section "tools") }} class="active"{{ end }}>Tools</a>
41+
<ul {{ if (eq $section "tools") }}class="expanded"{{ end }}>
42+
<li>
43+
<a href="{{ relURL "tools/command-line" }}"{{ if (eq .Params.Subsection "command-line") }} class="active"{{ end }}>Command Line</a>
44+
</li>
45+
<li>
46+
<a href="{{ relURL "tools/guis" }}"{{ if (eq .Params.Subsection "guis") }} class="active"{{ end }}>GUIs</a>
47+
</li>
48+
<li>
49+
<a href="{{ relURL "tools/hosting" }}"{{ if (eq .Params.Subsection "hosting") }} class="active"{{ end }}>Hosting</a>
50+
</li>
51+
</ul>
52+
</li>
3853
<li>
3954
<a href="{{ relURL "docs" }}"{{ if or (eq .Params.Subsection "reference") (eq .Params.Subsection "manual") }} class="active"{{ end }}>Reference</a>
4055
</li>
4156
<li>
4257
<a href="{{ relURL "downloads" }}"{{ if (eq $section "downloads") }} class="active"{{ end }}>Downloads</a>
4358
<ul {{ if (eq $section "downloads") }}class="expanded"{{ end }}>
44-
<li>
45-
<a href="{{ relURL "downloads/guis" }}"{{ if (eq .Params.Subsection "guis") }} class="active"{{ end }}>GUI Clients</a>
46-
</li>
4759
<li>
4860
<a href="{{ relURL "downloads/logos" }}"{{ if (eq .Params.Subsection "logos") }} class="active"{{ end }}>Logos</a>
4961
</li>

layouts/partials/site-root.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ <h3>Learn</h3>
1616
<p>Pro Git book, videos, tutorials, and cheat sheet</p>
1717
</a>
1818
</li>
19+
<li>
20+
<a href="{{ relURL "tools" }}">
21+
<img src="{{ relURL "images/icons/fa-screwdriver-wrench.svg" }}" width="74" height="74" />
22+
<h3>Tools</h3>
23+
<p>Command line tools, GUIs, and hosting services</p>
24+
</a>
25+
</li>
1926
<li>
2027
<a href="{{ relURL "docs" }}">
2128
<img src="{{ relURL "images/icons/fa-book-open.svg" }}" width="74" height="74" />

static/images/icons/fa-cloud.svg

Lines changed: 1 addition & 0 deletions
Loading

static/images/icons/fa-desktop.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)