comparison original/hgscm/templates/frontpage.html @ 244:4b97017259f9

Move the original site into a single folder to reduce clutter.
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Sep 2009 20:05:13 -0400
parents hgscm/templates/frontpage.html@c1c9a4f809ba
children ecfc61c5759a
comparison
equal deleted inserted replaced
240:85a7a53db1a5 244:4b97017259f9
1 {% extends "base.html" %}
2
3 {% load extras %}
4 {% block content %}
5
6 <div class="row">
7 <div class="col big">
8 <h1>Work easier <br> Work faster</h1>
9 <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>
10 </div>
11 <div class="col">
12 {% download_button 'true' %}
13 </div>
14 </div>
15
16 <div class="row">
17 <div class="col big">
18 <h3>How you can benefit from Mercurial</h3>
19 <ol>
20 <!-- 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. -->
21 <li class="i-1">
22 <h4>It is <a href="{% url about %}">fast and powerful</a></h4>
23 <p>Mercurial offers you the power and speed to efficiently handle <a href="{% url who_uses %}">projects of any size and kind</a><!--Reference: http://www.selenic.com/mercurial/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so committing, branching, tagging and merging are local operations which makes them fast and convenient. You can use a multitude of <a href="http://www.selenic.com/mercurial/wiki/Workflows">workflows</a> and easily enhance its functionality with <a href="http://www.selenic.com/mercurial/wiki/UsingExtensions">extensions</a>.</p>
24 </li>
25 <li class="i-2">
26 <h4>It is <a href="{% url learn_mercurial %}">easy to learn</a></h4> <!-- 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 -->
27 <p>You can follow our simple <a href="{% url workflow_guide %}">guide</a> to learn how to revision your documents with Mercurial, or just use the <a href="{% url quick_start %}">quick start</a> to get going instantly. <!--If you already know Subversion, please see <a href="mercurial_for_svn_users">Mercurial for svn users</a>.--></p>
28 </li>
29 <li class="i-3">
30 <h4>And it just works</h4>
31 <!--<p><em>Random quote about usability.</em></p>-->
32 <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>!)
33 commented out because it feels awkward.--></p>
34 </li>
35 </ol>
36 </div>
37 <div class="col">
38 <h3>Quick Start</h3>
39
40 <p><em>Clone a project and create a patch</em>
41 <pre>$ hg clone http://hg-scm.org/hello
42 $ cd hello
43 $ (edit files)
44 $ hg add (new files)
45 $ hg commit -m 'My changes'
46 $ hg export tip &gt; patch.diff
47
48 </pre>
49 </p>
50
51 <p><em>Create a project and commit</em>
52 <pre>$ hg init (project-directory)
53 $ cd (project-directory)
54 $ (add some files)
55 $ hg add
56 $ hg commit -m 'Initial commit'
57 </pre>
58 </p>
59 <!--Change into project dir before initiating repo to avoid a possible stumbling point.-->
60 </div>
61 </div>
62
63 {% endblock %}