How to Customize Templates?

163 views
Skip to first unread message

easypie

unread,
Aug 27, 2012, 2:32:43 PM8/27/12
to mezzani...@googlegroups.com
How would I go about customizing the templates? What I usually do is copy the templates I want to edit over to the project's 'templates' folder.

/project
|-- templates
    |-- base.html
    |-- index.html
    ...

I want to customize the template by organizing them into their own folders. I want all templates related to 'core' in 'core' and 'pages' in 'pages'

/project
|-- templates
    |-- core
        |-- base.html
        |-- index.html
        ...
    |-- pages
        |-- index.html
        |-- page.html

Stephen McDonald

unread,
Aug 27, 2012, 4:37:05 PM8/27/12
to mezzani...@googlegroups.com
That's the correct approach and all the templetes are broken into sub-directories, except for those that live in core - those go in the root templates directory as they're generally things that are used site-wide.
--
Stephen McDonald
http://jupo.org

ArrantSquid

unread,
Sep 3, 2012, 9:12:55 PM9/3/12
to mezzani...@googlegroups.com
You can also check here (this hit the mailing list a few months ago):

http://www.rosslaird.com/blog/customizing-mezzanine/

-John
Reply all
Reply to author
Forward
0 new messages