decided in favor of dedicated COMPONENT() macro, updates to documentation
This commit is contained in:
@@ -18,7 +18,7 @@ RENDER(Request& context)
|
||||
<div class="window-dot green"></div>
|
||||
<span class="mono-text">marketing_blocks.uce</span>
|
||||
</div>
|
||||
<pre class="code-block"><code>RENDER:HERO_SECTION(Request& context)
|
||||
<pre class="code-block"><code>COMPONENT:HERO_SECTION(Request& context)
|
||||
{
|
||||
String title = first(context.call["title"].to_string(), "Welcome");
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user