diff --git a/docs/templates.md b/docs/templates.md
index 0623d91e..e5e587a7 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -40,7 +40,7 @@ The `templates/pages/how_to_report.php`:
end('main_content') ?>
start('scripts') ?>
-
+
end('scripts') ?>
```
@@ -51,15 +51,17 @@ The `templates/layout.php`:
-
- PHP Bug Tracking System :: = $title ?? '' ?>
+ PHP :: = $this->e($title) ?>
+
+
+
= $this->block('main_content') ?>
= $siteUrl ?>
-
+
= $this->block('scripts') ?>
@@ -121,7 +123,7 @@ The `templates/pages/index.php`:
extends('layout.php'); ?>
start('scripts'); ?>
-
+
end('scripts'); ?>
start('content') ?>
@@ -138,7 +140,7 @@ The `templates/forms/form.php`:
append('scripts'); ?>
-
+
end('scripts'); ?>
```
@@ -153,8 +155,8 @@ The final rendered page:
-
-
+
+