Diffstat (limited to 'htdocs/ancestry/layout.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | htdocs/ancestry/layout.chtml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/htdocs/ancestry/layout.chtml b/htdocs/ancestry/layout.chtml index 11bd74a..6147d37 100644 --- a/htdocs/ancestry/layout.chtml +++ b/htdocs/ancestry/layout.chtml @@ -3,2 +3,7 @@ %%impl #include "acconfig.h" +%%var bool b_svn = false; +<%constructor> + if(strstr(PACKAGE_STRING,"svn")) + b_svn = true; +</%constructor> <%method void body() %> @@ -23,4 +28,9 @@ <h1><% PACKAGE_STRING %></h1> +% if(b_svn) { + <h2>The site is running source from the source repository which may differ + from the one available for download. You can check it out from the <a + href="http://kin.klever.net/sitecing/repository">source repository</a>.</h2> +% } % /* thank MSIE for this awful formatting */ - <ul><li><a href="/" title="introduction to site-C-ing">intro</a></li><li><a href="/exceptions/" title="exceptions handling">exceptions</a><ul><li><a href="/exceptions/preprocess" title="preprocessor errors">preprocess</a></li><li><a href="/exceptions/compile" title="compiler errors">compile-time</a></li><li><a href="/exceptions/runtime" title="runtime exceptions">runtime</a></li></ul></li><li><a href="/sources" title="browse this site source files">sources</a></li></ul> + <ul><li><a href="/" title="introduction to site-C-ing">overview</a><ul><li><a href="/simple" title="building a really simple page">simple page</a></li></ul></li><li><a href="/exceptions/" title="exceptions handling">exceptions</a><ul><li><a href="/exceptions/preprocess" title="preprocessor errors">preprocess</a></li><li><a href="/exceptions/compile" title="compiler errors">compile-time</a></li><li><a href="/exceptions/runtime" title="runtime exceptions">runtime</a></li></ul></li><li><a href="/sources" title="browse this site source files">sources</a></li></ul> <%code> |