fix front page
This commit is contained in:
parent
7c7d07434d
commit
64e4c3320d
@ -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>
|
||||||
|
Reference in New Issue
Block a user