Bryan O'Sullivan committed 7893b38

Add a top-level index page.

  • Participants
  • Parent commits e0d9eb0

Comments (0)

Files changed (4)

 	rsync -avz --delete dist
 vpath %.css ../web
+vpath ../web
 vpath %.js ../web/javascript
 $(obj-websup)/%.css: %.css


Empty file removed.


+<!-- -*- html -*- -->
+{% extends "boilerplate.html" %}
+{% block bodycontent %}
+<div class="navheader"><h1 class="booktitle">Mercurial: The Definitive Guide<div class="authors">by Bryan
+<div class="book">
+  <h2>Welcome to Mercurial: The Definitive Guide</h2>
+  <p>This is the online home of the book &#8220;Mercurial: The
+    Definitive Guide&#8221;.  
+    It will be published in 2009 by O'Reilly Media.</p>
+  <p>I make the content <a href="/read/">freely available
+      online</a>.  If you like it, please make a note to buy a copy!</p>
+  <p>For news updates, please
+    visit <a href="">my blog</a>.</p>
+  <h2>You can contribute!</h2>
+  <p>I publish the <a href="">source
+      code</a> for this book as a Mercurial repository.  Please feel
+    welcome to clone it, make modifications to your copy, and send me
+    changes.</p>
+  <p>The online version of the book includes a comment system
+    that you can use to send feedback involving errors, omissions, and
+    suggestions.</p>
+  <p>(If you would like to adapt the comment system for a
+    publishing project of your own, the source for the web application
+    is included with the book.)</p>
+  <h2>What is Mercurial?</h2>
+  <p><a href="">Mercurial</a> is a
+    fast, lightweight source control management system
+    designed for easy and efficient handling of very large distributed
+    projects.</p>
+  <h2>How I help Mercurial and free software, and you can too</h2>
+  <p>Mercurial is a member of the <a href="">Software Freedom Conservancy</a>, a
+    wonderful non-profit organisation that offers its member projects
+    legal and administrative advice.</p>
+  <p>I am donating my royalties from the sales of this book (once it is
+    published) to the Software Freedom Conservancy, and I encourage
+    you to support their work, too.</p>
+  <p>The SFC can
+    accept <a href="">accept
+    donations</a> (tax-free under IRS 501(c)(3), within the United
+    States) on behalf of its member projects. If you would like to
+    support Mercurial directly, please consider making a donation to
+    the SFC on its behalf.</p>
+  <p>If you would like to help free software developers to provide
+    their important public services without being impeded by legal
+    issues, please consider donating to the SFC's sister organisation,
+    the <a href="">Software Freedom Law
+    Center</a>.</p>
+{% endblock %}
 from django.template import Context, TemplateDoesNotExist
 from django.template.loader import get_template, get_template_from_string
 from import setup_environ
-import rwh.settings as settings
+import hgbook.settings as settings
 import sys