Auto Top Item now works
It was about as easy as I thought it would be, actually. The bulk of the perl code was
written last night while eating a pizza. I did bungle a few things... such as failing
to actually throw the loop in there that I needed, and the usual Perlisms of forgetting
to add my
in front of variables when needed, or worse, when not needed
so that you re-scoped it further down than it needed to be.
The other issue had to deal with was that I have intentionally disabled absolute include paths in ttree, and needed to modify some things in the code so that those would work. As it stands, I still have to throw the full path in there, but for TT2 itself, it will always need to be rooted in some pre-declared include path.
I noticed something annoying while working on this... the featured image was not at
the same level of the story listing! Well, I had already figued this out before
but got side tracked while fixing it, apparently, because I had added a page post
set of classes to the body
tag with the intention of making the
featured image use that to determine when we wanted to float the featured image block.
This was the cause of the 19 pixel difference in height. Have no idea why it
was exactly 19 pixels, but it was. I can understand both 18 and 20 pixels, but not
19 pixels. That was just... weird.