From d141098790a76e6f191678e352aa051d89a6d04a Mon Sep 17 00:00:00 2001 From: Mishbah Date: Fri, 3 Oct 2014 00:13:30 +0100 Subject: [PATCH] Update README.rst --- README.rst | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 61826a8..f26d153 100644 --- a/README.rst +++ b/README.rst @@ -125,18 +125,16 @@ is the name of the media query. This attribute returns ``True/False``. Continuing with the example ``RESPONSIVE_MEDIA_QUERIES`` settings above, here’s a simple corresponding template:: -
-
- {% if device.is_iphone %} - - {% endif %} - - ... - -
-
+
+
+ {% if device.is_iphone %} + {# this snippet will only be rendered for retina devices with min_width = 320 #} + + {% endif %} +
+
Quickstart ----------