annotate templates/frontpage.html @ 483:0978d4880577

downloads: skip trying to fill in button if it's not there
author Kevin Bullock <kbullock+mercurial@ringworld.org>
date Sun, 14 May 2017 21:15:12 -0500
parents 4ec689699207
children
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>
436
2b0669fed7a8 update domain to www.mercurial-scm.org
timeless@gmail.com
parents: 409
diff changeset
24 <p>Mercurial efficiently handles <a href="/who">projects of any size and kind</a><!--Reference: https://www.mercurial-scm.org/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so most actions are local, fast and convenient. Mercurial supports a multitude of <a href="https://www.mercurial-scm.org/wiki/WorkingPractices">workflows</a> and you can easily enhance its functionality with <a href="https://www.mercurial-scm.org/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 -->
436
2b0669fed7a8 update domain to www.mercurial-scm.org
timeless@gmail.com
parents: 409
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="https://www.mercurial-scm.org/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>-->
447
9c0c9d2b540b frontpage: update bugzilla link
Anton Shestakov <av6@dwimlabs.net>
parents: 436
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="https://bz.mercurial-scm.org/">bug</a>. Please <a href="https://bz.mercurial-scm.org/">tell us about it</a>!)
248
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>
462
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 457
diff changeset
38 <div class="col">
248
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>
463
4ec689699207 frontpage: use example repo from mercurial-scm.org
Anton Shestakov <av6@dwimlabs.net>
parents: 462
diff changeset
42 <pre class="wrap">$ hg clone https://www.mercurial-scm.org/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>
462
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 457
diff changeset
53 <pre class="wrap">$ hg init (project-directory)
248
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 %}