annotate templates/frontpage.html @ 409:b84223150592

Fix hrefs to not ending in /
author David Soria Parra <davidsp@fb.com>
date Tue, 25 Mar 2014 09:21:55 -0700
parents 60fe705f6df0
children 2b0669fed7a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
1 {% extends "base.html" %}
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
2
252
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
3 {% block main %}
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
4
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
5 <div class="row">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
6 <div class="col big">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
7 <h1>Work easier <br> Work faster</h1>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
8 <h2>Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface.</h2>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
9 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
10 <div class="col">
255
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
11 {% block sidebar %}
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
12 {{ super() }}
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
13 {% endblock %}
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
14 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
15 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
16
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
17 <div class="row">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
18 <div class="col big">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
19 <h3>How you can benefit from Mercurial</h3>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
20 <ol>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
21 <!-- The three sections should now grow more compact as you go down, with power and speed the longest and just works only two simple, clean sentences. -->
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
22 <li class="i-1">
409
b84223150592 Fix hrefs to not ending in /
David Soria Parra <davidsp@fb.com>
parents: 383
diff changeset
23 It is <a href="/about">fast and powerful</a>
b84223150592 Fix hrefs to not ending in /
David Soria Parra <davidsp@fb.com>
parents: 383
diff changeset
24 <p>Mercurial efficiently handles <a href="/who">projects of any size and kind</a><!--Reference: http://mercurial.selenic.com/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so most actions are local, fast and convenient. Mercurial supports a multitude of <a href="http://mercurial.selenic.com/wiki/WorkingPractices">workflows</a> and you can easily enhance its functionality with <a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a>.</p>
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
25 </li>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
26 <li class="i-2">
409
b84223150592 Fix hrefs to not ending in /
David Soria Parra <davidsp@fb.com>
parents: 383
diff changeset
27 It is <a href="/learn">easy to learn</a><!-- point to a site which begins with a random "easy to learn" testimonial and then shows ways to learn Mercurial, from quick start to indepth -->
b84223150592 Fix hrefs to not ending in /
David Soria Parra <davidsp@fb.com>
parents: 383
diff changeset
28 <p>You can follow our simple <a href="/guide">guide</a> to learn how to revision your documents with Mercurial, or just use the <a href="/quickstart">quick start</a> to get going instantly. A short overview of Mercurial's decentralized model is also <a href="http://mercurial.selenic.com/wiki/UnderstandingMercurial">available</a>.<!--If you already know Subversion, please see <a href="mercurial_for_svn_users">Mercurial for svn users</a>.--></p>
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
29 </li>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
30 <li class="i-3">
278
83328df81290 frontpage: remove unecessary <h4> tags
David Soria Parra <dsp@php.net>
parents: 274
diff changeset
31 And it just works
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
32 <!--<p><em>Random quote about usability.</em></p>-->
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
33 <p>Mercurial strives to deliver on each of its promises. Most tasks simply work on the first try and without requiring arcane knowledge. <!--(If one doesn't, that's most likely no feature but a <a href="http://selenic.com/mercurial/bugs/">bug</a>. Please <a href="http://selenic.com/mercurial/bugs/">tell us about it</a>!)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
34 commented out because it feels awkward.--></p>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
35 </li>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
36 </ol>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
37 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
38 <div class="col">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
39 <h3>Quick Start</h3>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
40
288
88ecbfd574e1 frontpage: use push instead of export
David Soria Parra <dsp@php.net>
parents: 283
diff changeset
41 <p><em>Clone a project and push changes</em>
293
91e0408f0b7b Correct hello repository url
David Soria Parra <dsp@php.net>
parents: 288
diff changeset
42 <pre>$ hg clone http://selenic.com/repo/hello
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
43 $ cd hello
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
44 $ (edit files)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
45 $ hg add (new files)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
46 $ hg commit -m 'My changes'
288
88ecbfd574e1 frontpage: use push instead of export
David Soria Parra <dsp@php.net>
parents: 283
diff changeset
47 $ hg push
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
48
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
49 </pre>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
50 </p>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
51
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
52 <p><em>Create a project and commit</em>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
53 <pre>$ hg init (project-directory)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
54 $ cd (project-directory)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
55 $ (add some files)
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
56 $ hg add
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
57 $ hg commit -m 'Initial commit'
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
58 </pre>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
59 </p>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
60 <!--Change into project dir before initiating repo to avoid a possible stumbling point.-->
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
61 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
62 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
63
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
64 {% endblock %}