Used {% media %} from http://softwaremaniacs.org/blog/2009/03/22/media-tag/