Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add title

  • Loading branch information...
commit 4fccb489138fb5d8cc501e985b4a353e228920ce 1 parent f7fc8d1
ken authored anandology committed
Showing with 13 additions and 11 deletions.
  1. +13 −11 cookbook/concatenate_two_rendered_templates.md
24 cookbook/concatenate_two_rendered_templates.md
View
@@ -1,17 +1,19 @@
---
layout: default
-title:
+title: How to concatenate two rendered templates?
---
-### Problem:
+# How to concatenate two rendered templates?
-How to concatenate two rendered templates?
-
-### Solution:
-
- render = web.template.render('templates')
-
- def GET():
- article = render.article()
- comments = render.comments()
+### Problem:
+
+How to concatenate two rendered templates?
+
+### Solution:
+
+ render = web.template.render('templates')
+
+ def GET():
+ article = render.article()
+ comments = render.comments()
return render.index(unicode(article), unicode(comments))
Please sign in to comment.
Something went wrong with that request. Please try again.