Template: Make loadResolvedPart() public
This commit is contained in:
parent
433b5da2bb
commit
44c27ed8b4
@ -22,7 +22,6 @@ class Template
|
|||||||
std::string resolveIncludes(std::string_view content);
|
std::string resolveIncludes(std::string_view content);
|
||||||
|
|
||||||
std::string getPartPath(std::string_view partname);
|
std::string getPartPath(std::string_view partname);
|
||||||
std::string loadResolvedPart(std::string_view partname);
|
|
||||||
std::string loadPartContent(std::string_view partname);
|
std::string loadPartContent(std::string_view partname);
|
||||||
TemplatePage createPage(std::string_view name);
|
TemplatePage createPage(std::string_view name);
|
||||||
|
|
||||||
@ -31,6 +30,7 @@ class Template
|
|||||||
ConfigVariableResolver &configVarsResolver, MapCache<TemplatePage> &pageCache);
|
ConfigVariableResolver &configVarsResolver, MapCache<TemplatePage> &pageCache);
|
||||||
|
|
||||||
TemplatePage getPage(const std::string &pagename);
|
TemplatePage getPage(const std::string &pagename);
|
||||||
|
std::string loadResolvedPart(std::string_view partname);
|
||||||
|
|
||||||
std::string renderSearch(const std::vector<std::string> &results,
|
std::string renderSearch(const std::vector<std::string> &results,
|
||||||
std::function<std::string(std::string)> callback) const;
|
std::function<std::string(std::string)> callback) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user