Archived
1
0

fix front page

This commit is contained in:
Jeff Becker 2016-02-22 07:32:49 -05:00
parent 7c7d07434d
commit 64e4c3320d
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -1,9 +1,9 @@
{{! {{!
frontpage.mustache -- template for index.html frontpage.mustache -- template for index.html
template parameters: template parameters:
- boardgraph ( a boardPageRows instance, see srnd/model.go ) - boardgraph ( markup of boardPageRows instance, see srnd/model.go )
- postgraph ( a postsGraph instance , see srnd/model.go ) - postgraph ( markup of postsGraph instance , see srnd/model.go )
- overview ( an overviewModel instance, see srnd/model.go ) - overview ( markup of overviewModel instance , see srnd/model.go )
- totalposts ( the number of total posts we have ever seen ) - totalposts ( the number of total posts we have ever seen )
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
@ -36,7 +36,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="posts_td"> <td class="posts_td">
{{{postsgraph.Render}}} {{{postsgraph}}}
</td> </td>
<td class="board_td"> <td class="board_td">
{{! todo: move boardgraph into its own file like postsgraph }} {{! todo: move boardgraph into its own file like postsgraph }}
@ -72,7 +72,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
{{{overview.Render}}} {{{overview}}}
</div> </div>
</div> </div>
</center> </center>