summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:38:24 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:38:24 +1100
commit341100d5a66f7bd0d0b39ee5afc809f6c2deb59d (patch)
tree448a9cf2adc9ad32b847d16e36ceb2d6f8f0a118
parent739bccd1bf5b2f3a681f4ff6e33d4a4018da22e5 (diff)
Optional subtitle in static pages.
-rw-r--r--templates/index.html1
-rw-r--r--templates/page.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 58529230..048a3dd9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -13,6 +13,7 @@
<div class="title">{board[title]?{board[title]}}</div>
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
+ <input type="hidden" name="board" value="{board[uri]}" />
<table>
<tr>
<th>
diff --git a/templates/page.html b/templates/page.html
index d9968b1e..f47fbca4 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -8,7 +8,7 @@
</head>
<body>
<h1>{title}</h1>
- {subtitle?<div class="title">{subtitle}</div>}
+ <div class="title">{subtitle?{subtitle}}</div>
{body}
<hr/>
<p class="unimportant" style="text-align:center;">Copyright &copy; 2010 <a href="http://omegadev.org/">OmegaSDG</a></p>