Commit 15c9cc23 by Qiang Xue

Merge pull request #771 from arisk/patch-2

Fix typo
parents 9c0c743f 89e93e6c
...@@ -123,7 +123,7 @@ $this->registerMetaTag(array('description' => 'This is my cool website made with ...@@ -123,7 +123,7 @@ $this->registerMetaTag(array('description' => 'This is my cool website made with
$this->registerMetaTag(array('description' => 'This website is about funny raccoons.'), 'meta-description'); $this->registerMetaTag(array('description' => 'This website is about funny raccoons.'), 'meta-description');
``` ```
If there are multiple calls with the same value of the second argument (`meta-description` in this case), the later will If there are multiple calls with the same value of the second argument (`meta-description` in this case), the latter will
override the former and only a single tag will be rendered: override the former and only a single tag will be rendered:
```html ```html
...@@ -155,7 +155,7 @@ Same as with meta tags you can specify additional argument to make sure there's ...@@ -155,7 +155,7 @@ Same as with meta tags you can specify additional argument to make sure there's
### Registering CSS ### Registering CSS
You can register CSS using `registerCss` or `registerCssFile`. Former is for outputting code in `<style>` tags directly You can register CSS using `registerCss` or `registerCssFile`. Former is for outputting code in `<style>` tags directly
to the page which is not recommended in most cases (but still valid). Later is for registering CSS file. In Yii it's to the page which is not recommended in most cases (but still valid). Latter is for registering CSS file. In Yii it's
much better to [use asset manager](assets.md) to deal with these since it provides extra features so `registerCssFile` much better to [use asset manager](assets.md) to deal with these since it provides extra features so `registerCssFile`
is manly useful for external CSS files. is manly useful for external CSS files.
......
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