Skip to content

Commit 1d99f6a

Browse files
author
mostafa
committed
doc update
Co-Authored-By: Mostafa Kamal <[email protected]>
1 parent 925f618 commit 1d99f6a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ class Test
1616
{
1717
public function home()
1818
{
19-
Khead::setMeta('viewport',[
20-
"name" => "viewport",
19+
Khead::setMeta('bladeport',[
20+
"name" => "bladeport",
2121
"content"=>"width=device-width, initial-scale=1"
2222
]);
2323
}
2424
}
2525
```
2626

27-
~ inside view <access>
27+
~ inside blade <access>
2828

2929
```php
30-
{!! Khead::getMeta('viewport') !!}
31-
// <meta name="viewport" content="width=device-width, initial-scale=1">
30+
{!! Khead::getMeta('bladeport') !!}
31+
// <meta name="bladeport" content="width=device-width, initial-scale=1">
3232
```
3333

3434
# link
@@ -38,7 +38,7 @@ Khead::setLink('author',[
3838
"rel"=>"author",
3939
"href"=>"humans.txt"
4040
]);
41-
// access inside view
41+
// access inside blade
4242
{!! Khead::getLink('author') !!}
4343
// <link rel="author" href="humans.txt">
4444
```
@@ -49,15 +49,15 @@ Khead::setLink('author',[
4949
Khead::setScript('one',[
5050
"src"=>"test.js",
5151
]);
52-
// view
53-
Khead::getScript('one');
52+
// blade
53+
{!! Khead::getScript('one') !!}
5454
// <script src="test.js"></script>
5555
```
5656
# title
5757

5858
```php
5959
Khead::setTitle('this is a title');
60-
// access view
60+
// access blade
6161
{!! Khead::getTitle() !!}
6262
```
6363

@@ -102,7 +102,7 @@ Khead::setOg([
102102
]
103103
]);
104104

105-
// access with view
105+
// access with blade
106106

107107
{!! Khead::getOg() !!}
108108
```
@@ -144,7 +144,7 @@ Khead::setTwitCards([
144144
"content"=>"on"
145145
]
146146
]);
147-
// access inside view
147+
// access inside blade
148148

149149
{!! Khead::getTwitCards() !!}
150150
```

0 commit comments

Comments
 (0)