A Happier Style Now
Apr. 6th, 2004 12:02 pmThere -- I've now beaten my LJ style into some kind of shape. Colors are the kind of mix I like, with dark backgrounds for the surrounding bits but light for the reading bits. I've taken the built-in Tabular Indent template and fixed the obvious bugs. (The colors for the headers in the comments page were oddly hosed due to a couple of typos, and it had structured the HTML such that Mozilla doesn't use the correct foreground colors in the comments. More importantly, I've tweaked the entry boxes so that the Subject always shows up on top, which I strongly prefer; the built-in template shows the header fields in random order.)
Template hacking turns out to be pretty easy: S2 is enough like Perl to be pretty intuitive. (Although the C# geek in me is appalled at the apparent lack of a "continue" statement.) Anyone who knows HTML and Perl reasonably well should be able to pick up S2 quickly.
Hopefully this won't blind anyone any more...
Template hacking turns out to be pretty easy: S2 is enough like Perl to be pretty intuitive. (Although the C# geek in me is appalled at the apparent lack of a "continue" statement.) Anyone who knows HTML and Perl reasonably well should be able to pick up S2 quickly.
Hopefully this won't blind anyone any more...
(no subject)
Date: 2004-04-06 09:12 am (UTC)(no subject)
Date: 2004-04-06 09:17 am (UTC)(no subject)
Date: 2004-04-06 10:51 am (UTC)(no subject)
Date: 2004-04-06 11:08 am (UTC)(no subject)
Date: 2004-04-06 01:07 pm (UTC)Always assumed it was a markup language, not a complete language. Maybe I'll go poke at it.
(no subject)
Date: 2004-04-06 09:08 pm (UTC)It's fully compiled, and I gather that it does some amount of safety-checking at compile time. Frankly, from a cursory look at the language, it appears significantly better than Perl was back when I was doing Perl (admittedly a couple of language revs ago).
It's really quite an elegant and powerful solution, and means that you can do nearly *anything* in terms of layout. You're a bit limited in terms of what information gets passed into each page type, but you can do whatever the heck you like with that information...
(no subject)
Date: 2004-04-06 08:18 pm (UTC)I'm perplext. Where does the template live? Did you have to submit it back to the LJ establishement to get it served here?
What documentation should I be reading?
(Right. Just what I need. Another web dev project. Ha ha hah.)
(no subject)
Date: 2004-04-06 08:34 pm (UTC)Well, I like it
Date: 2004-04-07 12:45 pm (UTC)(no subject)
Date: 2004-04-12 07:34 pm (UTC)