[CentralOH] HTML Editor?

Issac Kelly issac.kelly at gmail.com
Wed Jul 27 17:08:40 CEST 2011


Ah, i just assumed whatever template language you were using has some
include syntax.

Django Templates, and Jinja do

-------
Issac Kelly
servee.com
issackelly.com
--------------------------


On Wed, Jul 27, 2011 at 10:57 AM, Mark Erbaugh <mark at microenh.com> wrote:

>
> On Jul 26, 2011, at 3:31 PM, Issac Kelly wrote:
>
> > I will never use anything other than a text editor to write HTML. If
> > you can't read and write your templates with a text editor, you're
> > probably doing several things The Wrong Way.
> >
> > Some tips
> >
> > * use includes liberally
> > * nest as little as possible
> > * make a comment at your closing tags if their opening tag is > 10 lines
> away
> >
> > Markup should be semantic breakdowns of your page, and CSS should
> > define layout. Break that rule as little as possible.
> >
> > Best of luck.
> > Issac Kelly
>
>
> Another question.  You say use includes liberally.  From what I've read,
> HTML doesn't have an include command. How do you do includes?  I did a quick
> scan of the Chameleon (the templating library) documentation and didn't see
> any include syntax.
>
> Mark
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> http://mail.python.org/mailman/listinfo/centraloh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/centraloh/attachments/20110727/d4f7047a/attachment.html>


More information about the CentralOH mailing list