make html <title></title> configurable
このコミットが含まれているのは:
@ -44,9 +44,11 @@ Response Handler::errorResponse(std::string errortitle, std::string errormessage
|
||||
return { status, error.render()};
|
||||
}
|
||||
|
||||
std::string Handler::createPageTitle(std::string append)
|
||||
std::string Handler::createPageTitle(std::string title)
|
||||
{
|
||||
return this->handlersConfig->wikiname + " - " + append; //TODO: we might wanna make the format configurable
|
||||
Varreplacer replacer("{");
|
||||
replacer.addKeyValue("title", title);
|
||||
return replacer.parse(this->handlersConfig->page_title_template);
|
||||
}
|
||||
|
||||
QueryOption Handler::queryOption(const Request &r) const
|
||||
|
新しいイシューから参照
ユーザーをブロックする