Update partials.md

This commit is contained in:
Bjørn Erik Pedersen
2022-04-05 16:19:56 +02:00
committed by GitHub
parent 9f4bd00236
commit 55467e7c83
+1 -1
View File
@@ -78,7 +78,7 @@ This means the partial will *only* be able to access those variables. The partia
## Returning a value from a Partial
In addition to outputting markup, partials can be used to return a value of any type. In order to return a value, a partial must include a lone `return` statement.
In addition to outputting markup, partials can be used to return a value of any type. In order to return a value, a partial must include a lone `return` statement _at the end of the partial_.
### Example GetFeatured