summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:38:24 +1100
committerPaul Merrill <napalminc@gmail.com>2010-12-01 04:14:16 -0800
commit5a4741377a761ba044f90f72f0e61aacfe712f02 (patch)
tree5a69dda5385e27d2ca975a056661738a576f92b7
parent4906ebac535b290ec82b9ea9e7991f76782645cd (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>