We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38aae0 commit 7b2f713Copy full SHA for 7b2f713
docs/digging-deeper/helpers.md
@@ -80,6 +80,20 @@ Includes::blade('banner.blade.php');
80
Includes::blade('banner', 'Default content');
81
```
82
83
+### HTML Includes
84
+
85
+Gets the raw HTML of a partial file in the includes directory. Supplying the file extension is optional.
86
87
+```php
88
+use Hyde\Support\Includes;
89
90
+Includes::html('footer');
91
+Includes::html('footer.html');
92
93
+// With default value if the file does not exist
94
+Includes::html('footer', 'Default content');
95
+```
96
97
### Directory Structure Example
98
99
Here is an example of the directory structure for includes:
0 commit comments