Skip to content

Commit

Permalink
add title
Browse files Browse the repository at this point in the history
  • Loading branch information
ken authored and anandology committed Jan 5, 2011
1 parent f7fc8d1 commit 4fccb48
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions cookbook/concatenate_two_rendered_templates.md
@@ -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))

0 comments on commit 4fccb48

Please sign in to comment.