1
0
Fork 0
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:
King_DuckZ 2017-06-18 14:56:06 +01:00
parent 070c814387
commit 00e27a774a
5 changed files with 4 additions and 2 deletions

View file

@ -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()},