summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-08-28 17:12:03 +0200
committerThomas Schwinge <tschwinge@gnu.org>2007-08-30 12:48:01 +0200
commitcd55884f9837034d5608bb514cf0f76cdfbe7741 (patch)
tree8521925671a1d8ec0066257bda56a4407efc5ccb
parentdac9389148bf8abf6f9891ec0ee851b4b39ba4fc (diff)
Add ``TMPL_VAR LICENSE''.
-rw-r--r--.templates/page.tmpl1
-rw-r--r--local.css6
-rwxr-xr-xrender_locally1
3 files changed, 8 insertions, 0 deletions
diff --git a/.templates/page.tmpl b/.templates/page.tmpl
index fd44a53b..775aa8ca 100644
--- a/.templates/page.tmpl
+++ b/.templates/page.tmpl
@@ -94,6 +94,7 @@ Last edited <TMPL_VAR NAME=MTIME>
</div>
<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
+<TMPL_IF LICENSE><div id="license"><TMPL_VAR LICENSE></div></TMPL_IF>
<!-- from <TMPL_VAR NAME=WIKINAME> -->
</div>
diff --git a/local.css b/local.css
index e4b9ec88..3e7c692b 100644
--- a/local.css
+++ b/local.css
@@ -34,3 +34,9 @@ pre
{
background-color: #f0f0f0;
}
+
+#license
+{
+ background-color: #f0f0f0;
+ font-size: small;
+}
diff --git a/render_locally b/render_locally
index 029194f1..660efca2 100755
--- a/render_locally
+++ b/render_locally
@@ -20,6 +20,7 @@ dest=$src.rendered &&
ikiwiki \
--verbose \
--wikiname GNU\ Hurd\ wiki \
+ --templatedir "$src"/.templates \
--userdir user \
--no-usedirs \
--plugin goodstuff \