diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:38:24 +1100 |
|---|---|---|
| committer | Paul Merrill <napalminc@gmail.com> | 2010-12-01 04:14:16 -0800 |
| commit | 5a4741377a761ba044f90f72f0e61aacfe712f02 (patch) | |
| tree | 5a69dda5385e27d2ca975a056661738a576f92b7 | |
| parent | 4906ebac535b290ec82b9ea9e7991f76782645cd (diff) | |
Optional subtitle in static pages.
| -rw-r--r-- | templates/index.html | 1 | ||||
| -rw-r--r-- | templates/page.html | 2 |
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 © 2010 <a href="http://omegadev.org/">OmegaSDG</a></p>
|
