Commit a75e0450 by Qiang Xue

Merge pull request #5085 from tebazil/patch-4

Update structure-views.md
parents 684365e8 bba92093
......@@ -595,7 +595,7 @@ at the place where you call [[yii\web\View::head()]] in the layout and generate
Note that if you call [[yii\web\View::registerMetaTag()]] multiple times, it will register multiple meta tags,
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 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.
For example, the following code registers two "description" meta tags. However, only the second one will be rendered.
```html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment