mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
Remove pastie_page token and add a submit_page one instead (bool).
This commit is contained in:
parent
070c814387
commit
00e27a774a
5 changed files with 4 additions and 2 deletions
|
@ -174,7 +174,7 @@ namespace kamokan {
|
|||
statuslog->info("Sending response");
|
||||
SPDLOG_TRACE(statuslog, "Preparing mustache dictionary");
|
||||
mstch::map mustache_context {
|
||||
{"pastie_page", false},
|
||||
{"submit_page", this->is_submit_page()},
|
||||
{"version", boost::string_view{STRINGIZE(VERSION_MAJOR) "." STRINGIZE(VERSION_MINOR) "." STRINGIZE(VERSION_PATCH)}},
|
||||
{"tawashi_version", tawashi::version()},
|
||||
{"base_uri", base_uri()},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue