diff --git a/contrib/templates/default/attachment.mustache b/contrib/templates/default/attachment.mustache deleted file mode 100644 index e69de29..0000000 diff --git a/contrib/templates/default/board.mustache b/contrib/templates/default/board.mustache index c2e49fb..1458b39 100644 --- a/contrib/templates/default/board.mustache +++ b/contrib/templates/default/board.mustache @@ -1,3 +1,16 @@ +{{! + 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 ) + - Navar ( a function that renders the navbar, should not be escaped ) + - Threads ( a list of Thread Models with the last few replies ) +}}
@@ -7,7 +20,7 @@ - {{{board.RenderNavbar}}} + {{{board.Navbar}}} diff --git a/contrib/templates/default/keygen.mustache b/contrib/templates/default/keygen.mustache index c9765f0..d3136ea 100644 --- a/contrib/templates/default/keygen.mustache +++ b/contrib/templates/default/keygen.mustache @@ -1,3 +1,11 @@ +{{! + keygen.mustache -- page containing a newly generated tripcode + template parameters: + - prefix ( the site prefix ) + - public ( the public key in hex ) + - secret ( the secret key in hex ) + - tripcode ( html version of the public key ) +}} diff --git a/contrib/templates/default/modlogin_result.mustache b/contrib/templates/default/modlogin_result.mustache index e422b75..885677d 100644 --- a/contrib/templates/default/modlogin_result.mustache +++ b/contrib/templates/default/modlogin_result.mustache @@ -1,3 +1,11 @@ +{{! + modlogin_result.mustache -- shows the result of a login attempt + template parameters: + - prefix ( the site prefix ) + - mod_prefix ( the prefix to the mod panel, could be something like https://mod.site.tld/ or /mod/ ) + - message ( the message returned from the login attempt ) + - fail ( present if the login failed ) +}} diff --git a/contrib/templates/default/modpage.mustache b/contrib/templates/default/modpage.mustache index 2084838..3cd6437 100644 --- a/contrib/templates/default/modpage.mustache +++ b/contrib/templates/default/modpage.mustache @@ -1,3 +1,9 @@ +{{! + modpage.mustache -- the moderator panel when logged in + template parameters: + - prefix ( the site's prefix ) + +}} diff --git a/contrib/templates/default/navbar.mustache b/contrib/templates/default/navbar.mustache index 9e453da..90d6b06 100644 --- a/contrib/templates/default/navbar.mustache +++ b/contrib/templates/default/navbar.mustache @@ -1,7 +1,17 @@ -posted as {{message_id}}
diff --git a/contrib/templates/default/postform.mustache b/contrib/templates/default/postform.mustache
index cb27660..f45ff4a 100644
--- a/contrib/templates/default/postform.mustache
+++ b/contrib/templates/default/postform.mustache
@@ -1,6 +1,7 @@
{{!
- postform.mustache
- template parameters:
+ postform.mustache -- the form for posting
+
+ template parameters:
- post_url ( the url of the post form )
- reference ( the post we are replying to, or empty string if it's an op )
- button ( the text for the reply button )
diff --git a/contrib/templates/default/static_base.mustache b/contrib/templates/default/static_base.mustache
deleted file mode 100644
index 1d5d67d..0000000
--- a/contrib/templates/default/static_base.mustache
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- New Tripcode:
- secret: {{secret}}
- public: {{public}}
- tripcode: {{tripcode}}
-
-
-
\ No newline at end of file