I took a stab at rewriting my tumblr code theme. The updates include a snazzy new permalink page. Read more? Why yes…
The permalink page now scrolls up/down to expand for longer posts. Woohoo! Tumblr’s templating language for custom themes is very nice and easy to use once you wrap your head around the whole thing.
Since the templating language doesn’t work offline, I first created every possible post scenario as a static page. (Text, audio, chat, etc.) After that, you can simply make sure the code is replicated in each post block.
Halfway through the rewrite, I realized that I might be able to query the permalink posts via ajax, which would make viewing the longer versions of posts much more seamless - they could come up in a lightbox or something. I think that challenge might be for another weekend…
One thing that’s more borked now is viewing this blog in < ie9. You internet explorer grannies get up-to-date! (I will eventually get the ie<9 code straightened out… I hope)
Posted 9 months ago