@@ -16,19 +16,19 @@ class Test
16
16
{
17
17
public function home()
18
18
{
19
- Khead::setMeta('viewport ',[
20
- "name" => "viewport ",
19
+ Khead::setMeta('bladeport ',[
20
+ "name" => "bladeport ",
21
21
"content"=>"width=device-width, initial-scale=1"
22
22
]);
23
23
}
24
24
}
25
25
```
26
26
27
- ~ inside view <access >
27
+ ~ inside blade <access >
28
28
29
29
``` 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" >
32
32
```
33
33
34
34
# link
@@ -38,7 +38,7 @@ Khead::setLink('author',[
38
38
"rel"=>"author",
39
39
"href"=>"humans.txt"
40
40
]);
41
- // access inside view
41
+ // access inside blade
42
42
{!! Khead::getLink('author') !!}
43
43
// <link rel =" author" href =" humans.txt" >
44
44
```
@@ -49,15 +49,15 @@ Khead::setLink('author',[
49
49
Khead::setScript('one',[
50
50
"src"=>"test.js",
51
51
]);
52
- // view
53
- Khead::getScript('one');
52
+ // blade
53
+ {!! Khead::getScript('one') !!}
54
54
// <script src =" test.js" ></script >
55
55
```
56
56
# title
57
57
58
58
``` php
59
59
Khead::setTitle('this is a title');
60
- // access view
60
+ // access blade
61
61
{!! Khead::getTitle() !!}
62
62
```
63
63
@@ -102,7 +102,7 @@ Khead::setOg([
102
102
]
103
103
]);
104
104
105
- // access with view
105
+ // access with blade
106
106
107
107
{!! Khead::getOg() !!}
108
108
```
@@ -144,7 +144,7 @@ Khead::setTwitCards([
144
144
"content"=>"on"
145
145
]
146
146
]);
147
- // access inside view
147
+ // access inside blade
148
148
149
149
{!! Khead::getTwitCards() !!}
150
150
```
0 commit comments