Mercurial > hg-website
diff hgscm/templates/about.html @ 77:fb737a306703
templatetags: Add mercurial_tricks templatetag
mercurial_tricks displays a random 'trick' from the templates/tricks/ directory.
The intention is to show the visitor various tricks around mercurial, how to
do certain things during browsing.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Fri, 20 Feb 2009 15:12:33 +0100 |
parents | 16ee6de925d1 |
children | 8d25e34c21c2 |
line wrap: on
line diff
--- a/hgscm/templates/about.html Thu Feb 19 15:05:00 2009 +0100 +++ b/hgscm/templates/about.html Fri Feb 20 15:12:33 2009 +0100 @@ -1,5 +1,6 @@ {% extends "base.html" %} +{% load extras %} {% block content %} <div class="row"> @@ -39,6 +40,7 @@ Mercurial <em>2.42</em> <span>Windows XP | Vista | 7</span> </a> + {% mercurial_tricks %} </div> </div>