cleanup, docs
This commit is contained in:
@@ -20,15 +20,6 @@ If `context` is omitted, the current active request context is used.
|
||||
|
||||
Examples:
|
||||
|
||||
```cpp
|
||||
// call a common page template
|
||||
unit_render("page-template.uce");
|
||||
|
||||
// explicitly pass a request context
|
||||
unit_render("page-template.uce", context);
|
||||
```
|
||||
|
||||
Related:
|
||||
|
||||
- PHP: rendering another view or template with the current request state and captured output
|
||||
- JavaScript / Node.js: calling another template renderer or SSR partial with the current request context
|
||||
:example
|
||||
print("unit_render example\n");
|
||||
|
||||
Reference in New Issue
Block a user