summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/data/demos/GoogleTemplate.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/data/demos/GoogleTemplate.html')
-rw-r--r--js/dojo/dojox/data/demos/GoogleTemplate.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/dojo/dojox/data/demos/GoogleTemplate.html b/js/dojo/dojox/data/demos/GoogleTemplate.html
new file mode 100644
index 0000000..a87d107
--- /dev/null
+++ b/js/dojo/dojox/data/demos/GoogleTemplate.html
@@ -0,0 +1,7 @@
+{% load dojox.dtl.contrib.data %}
+{% bind_data items to store as google %}
+{% for item in google %}
+<span class="search-result">
+ <a href="{{item.unescapedUrl}}">{{item.titleNoFormatting}}</a>
+</span>
+{% endfor %}