decided in favor of dedicated COMPONENT() macro, updates to documentation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
RENDER(Request& context)
|
||||
COMPONENT(Request& context)
|
||||
{
|
||||
String lang = first(context.call["lang"].to_string(), "plain");
|
||||
<>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
RENDER(Request& context)
|
||||
COMPONENT(Request& context)
|
||||
{
|
||||
String title = first(
|
||||
context.call["node"]["attrs"]["title"].to_string(),
|
||||
|
||||
Reference in New Issue
Block a user