Update references to "media()" in docs.

This commit is contained in:
Paul McLanahan 2015-01-22 15:56:00 -05:00
Родитель 66541a947d
Коммит 63da90f246
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -38,11 +38,11 @@ Embedding images
Images should be included on pages using helper functions. Images should be included on pages using helper functions.
media() static()
^^^^^^^ ^^^^^^^^
For a simple image, the `media()` function is used to generate the image URL. For example:: For a simple image, the `static()` function is used to generate the image URL. For example::
<img src="{{ media('img/firefox/new/firefox-logo.png') }}" alt="Firefox" /> <img src="{{ static('img/firefox/new/firefox-logo.png') }}" alt="Firefox" />
will output an image:: will output an image::