mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Update, add Intro Upgrade from v1
This commit is contained in:
@ -590,7 +590,7 @@ at the place where you call [[yii\web\View::head()]] in the layout:
|
|||||||
<meta name="keywords"
|
<meta name="keywords"
|
||||||
``` content="yii, framework, php">
|
``` content="yii, framework, php">
|
||||||
|
|
||||||
Note that if you call [[yii\web\View::registerMetaTag()]] multiple times, it will register multiple meta tags,
|
Lưu ý rằng nếu bạn gọi phương thức [[yii\web\View::registerMetaTag()]] multiple times, it will register multiple meta tags,
|
||||||
regardless whether the meta tags are the same or not.
|
regardless whether the meta tags are the same or not.
|
||||||
|
|
||||||
To make sure there is only a single instance of a meta tag type, you can specify a key as a second parameter when calling the method.
|
To make sure there is only a single instance of a meta tag type, you can specify a key as a second parameter when calling the method.
|
||||||
|
2
tests/runtime/assets/.gitignore
vendored
2
tests/runtime/assets/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
Reference in New Issue
Block a user