1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00
This commit is contained in:
Ryan Cramer
2020-11-13 10:52:04 -05:00
parent 97c37da187
commit 1af600fdd1

View File

@@ -162,7 +162,7 @@ steps outlined above:
But we might also do something more like append some navigation
under the body copy or prepend a photo... the sky is the limit.
$content = "<img src='/photo.jpg'>" . $page->body;
$content = "<img src='/photo.jpg' alt='…'>" . $page->body;
Our search.php template file for example, populates $content with
a list of search results.