diff --git a/contrib/templates/chen-chan/board.mustache b/contrib/templates/chen-chan/board.mustache new file mode 100644 index 0000000..f4cb076 --- /dev/null +++ b/contrib/templates/chen-chan/board.mustache @@ -0,0 +1,34 @@ +{{! + board.mustache, displays the contents of page N of the board + + template parameters: + - board ( the model of the current page ) + - page ( the page number of the current page ) + + board has the properties: + - Prefix ( absolute path like //site.tld/ or /path/ ) + - Board ( the name of the board ) + - Navbar ( a function that renders the navbar, should not be escaped ) + - Threads ( a list of Thread Models with the last few replies ) +}} + + +
+ +| board | +posts per hour | +posts per day | +total | +
|---|---|---|---|
| + {{Board}} + | ++ {{Hour}} + | ++ {{Day}} + | ++ {{All}} + | +
{{frontend}} on nntpchan
| board | posts this hour | posts today | total |
|---|---|---|---|
| {{Board}} | {{Hour}} | {{Day}} | {{All}} |
{{totalposts}} posts total
diff --git a/contrib/templates/chen-chan/graph_history.mustache b/contrib/templates/chen-chan/graph_history.mustache new file mode 100644 index 0000000..1860f9b --- /dev/null +++ b/contrib/templates/chen-chan/graph_history.mustache @@ -0,0 +1,36 @@ +{{! +graph_history.mustache +template parameters: +- history ( a list of PostEntry instances, see srnd/model.go ) + +}} + + + + + +| Month | +Posts | ++ |
|---|---|---|
| {{Date}} | +{{Num}} | +{{OvercockGraph}} | +
+new tripcode:
+
+secret: {{secret}}
+public: {{public}}
+tripcode: {{{tripcode}}}
+
diff --git a/contrib/templates/default-orig/modlogin.mustache b/contrib/templates/chen-chan/modlogin.mustache
similarity index 100%
rename from contrib/templates/default-orig/modlogin.mustache
rename to contrib/templates/chen-chan/modlogin.mustache
diff --git a/contrib/templates/default-orig/modlogin_result.mustache b/contrib/templates/chen-chan/modlogin_result.mustache
similarity index 100%
rename from contrib/templates/default-orig/modlogin_result.mustache
rename to contrib/templates/chen-chan/modlogin_result.mustache
diff --git a/contrib/templates/default-orig/modpage.mustache b/contrib/templates/chen-chan/modpage.mustache
similarity index 95%
rename from contrib/templates/default-orig/modpage.mustache
rename to contrib/templates/chen-chan/modpage.mustache
index 938beb5..dd2976c 100644
--- a/contrib/templates/default-orig/modpage.mustache
+++ b/contrib/templates/chen-chan/modpage.mustache
@@ -6,7 +6,8 @@
}}
-
+
+
{{name}} on {{frontend}} | {{# links}} {{Text}} {{/ links}} | front page overboard
diff --git a/contrib/templates/default-orig/newboard.mustache b/contrib/templates/chen-chan/newboard.mustache similarity index 93% rename from contrib/templates/default-orig/newboard.mustache rename to contrib/templates/chen-chan/newboard.mustache index a42a5ab..c6315db 100644 --- a/contrib/templates/default-orig/newboard.mustache +++ b/contrib/templates/chen-chan/newboard.mustache @@ -28,7 +28,7 @@ Comment