diff --git a/contrib/static/site.css b/contrib/static/site.css index bbf2b76..4c09b55 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -19,7 +19,7 @@ font-weight: bold; } -#postform-outer { +#postform-outer , .index-outer { text-align: center; } diff --git a/contrib/templates/default/frontpage.mustache b/contrib/templates/default/frontpage.mustache new file mode 100644 index 0000000..4360ae6 --- /dev/null +++ b/contrib/templates/default/frontpage.mustache @@ -0,0 +1,53 @@ +{{! + frontpage.mustache -- template for index.html + template parameters: + - graph ( a list of 4 string tuples: (board, posts_per_hour, posts_per_day, total_posts) ) + - totalposts ( the number of total posts we have ever seen ) + - frontend ( the name of the frontend ) + - prefix ( the site's prefix ) +}} + + + + + {{frontend}} on nntpchan + + +
+
+
+

{{frontend}} on nntpchan

+

Read the FAQ

+
+
+ + + + + + + + + {{# graph}} + + + + + + + {{/ graph}} + +
Board Post per Hour Post per Day Total
+ {{Board}} + + {{Hour}} + + {{Day}} + + {{All}} +
+
+
+
+ + \ No newline at end of file