Skip to content

Commit b3cf8b0

Browse files
committed
about: update homepage and sidebar
Update the copy on the homepage to reflect the new content of the About page, and remove the now-deleted about pages from the sidebar. Signed-off-by: Julia Evans <[email protected]>
1 parent a3e1767 commit b3cf8b0

File tree

3 files changed

+10
-18
lines changed

3 files changed

+10
-18
lines changed

layouts/partials/masthead.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
<div class="inner">
33
<div>
44
<p>
5-
Git is a <a href="{{ relURL "about/free-and-open-source" }}">free and open source</a>
5+
Git is a <a href="{{ relURL "about/#free-and-open-source" }}">free and open source</a>
66
distributed version control system designed to handle everything from small to
77
very large projects with speed and efficiency.
88
</p>
99
<p>
10-
Git is <a href="{{ relURL "doc" }}">easy to learn</a> and has a
11-
<a href="{{ relURL "about/small-and-fast" }}">tiny footprint with lightning fast performance</a>.
12-
It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase
13-
with features like <a href="{{ relURL "about/branching-and-merging" }}">cheap local branching</a>,
14-
convenient <a href="{{ relURL "about/staging-area" }}">staging areas</a>, and
15-
<a href="{{ relURL "about/distributed" }}">multiple workflows</a>.
10+
Git is <a href="{{ relURL "about" }}">lightning fast</a> and has a huge ecosystem of
11+
<a href="{{ relURL "tools/guis" }}">GUIs</a>,
12+
<a href="{{ relURL "tools/hosting" }}">hosting services</a>, and
13+
<a href="{{ relURL "tools/command-line" }}">command-line tools</a>.
1614
</p>
1715
</div>
1816
<div class="illustration-wrapper">

layouts/partials/sidebar.html

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@
55
<ul>
66
<li>
77
<a href="{{ relURL "about" }}"{{ if (eq $section "about") }} class="active"{{ end }}>About</a>
8-
<ul{{ if (eq $section "about") }} class="expanded"{{ end }}>
9-
{{ if (eq $section "about") }}
10-
{{ $subsection := .Params.subsection }}
11-
{{ $abouts := sort (where .Site.RegularPages "Params.section" "about") "Params.order" }}
12-
{{ range $i, $about := $abouts }}
13-
<li>
14-
<a href="{{ relURL (strings.TrimSuffix ".html" $about.RelPermalink) }}"{{ if (eq $.Params.subsection $about.Params.subsection) }} class="active"{{ end }}>{{ $about.Params.subtitle }}</a>
15-
</li>
16-
{{ end }}
17-
{{ end }}
8+
<ul {{ if (eq $section "about") }} class="expanded"{{ end }}>
9+
<li>
10+
<a href="{{ relURL "about/trademark" }}"{{ if (eq .Params.Subsection "trademark") }} class="active"{{ end }}>Trademark</a>
11+
</li>
1812
</ul>
1913
</li>
2014

layouts/partials/site-root.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="{{ relURL "about" }}">
77
<img src="{{ relURL "images/icons/fa-gears.svg" }}" width="74" height="74" />
88
<h3>About</h3>
9-
<p>The advantages of Git compared to other source control systems.</p>
9+
<p>Git's performance and ecosystem</p>
1010
</a>
1111
</li>
1212
<li>

0 commit comments

Comments
 (0)