summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \