mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
Expose token and a bool to tell if it's a pastie page to mustache.
This commit is contained in:
parent
218e9ab6cd
commit
2a5b6277a4
2 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,7 @@ namespace kamokan {
|
|||
statuslog->info("Sending response");
|
||||
SPDLOG_TRACE(statuslog, "Preparing mustache dictionary");
|
||||
mstch::map mustache_context {
|
||||
{"pastie_page", false},
|
||||
{"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