Master/application layouts with Erlydtl

30 views
Skip to first unread message

Ward (TTY)

unread,
Apr 4, 2012, 3:17:35 AM4/4/12
to ErlyDTL Users
Hi Guys,

What's a nice way to do master/application layouts with Erlydtl? With
master/application layout I mean separating the main page layout
template from template with the pagecontent, but rendering them as
one. Think Ruby on Rails application layouts or ASP.NET Master Pages.

Thx,

Ward

Evan Miller

unread,
Apr 4, 2012, 9:28:36 AM4/4/12
to erlydt...@googlegroups.com
Hi Ward,

Check out template inheritance, described here:

https://docs.djangoproject.com/en/1.3/topics/templates/#template-inheritance

Ward (TTY)

unread,
Apr 11, 2012, 2:56:39 PM4/11/12
to erlydt...@googlegroups.com
Thx. Exactly what I was looking for.

Op woensdag 4 april 2012 15:28:36 UTC+2 schreef Evan Miller het volgende:
Hi Ward,

Check out template inheritance, described here:

https://docs.djangoproject.com/en/1.3/topics/templates/#template-inheritance

> Hi Guys,

Reply all
Reply to author
Forward
0 new messages