TL;DRYou can click the preview image to navigate to a story from the home page.
While navigating around my site I thought Id just click the top image to navigate to the article. To my surprise, and realization, it didnt work. That got me thinking about a quick enhancement. That, being the realization, proved not to be true.
After a bit of hacking and slashing, I got the feature to work. It took me on quite a journey and, I soon realized, just how much of a mess the code really is. Note that most of the code isnt mine, but that isnt an excuse. Although the new feature works, I really need to document and rewrite the entire code base. On my Trello board for another day.
Yet, there is a silver lining. In all my digging around the site, I think I finally figured out a little bug in my code. Id worked around an issue with breaks (<br>
) in the past. But I never really found the issue. I think I did today. Of course, I uncovered a couple of other issues still to be fixed. Small wins!
One other fix, but not really a bug, is the use of the zoom-in cursor when you hover over images with a URL. Although it makes sense if the images are meant to zoom, for some reason the theme I was using had them set for all anchor tags. I removed the offending code. If I really need to use zoom-in, Ill make it a style specifically for a modal.
One last bug I found while fixing this log. I noticed the category was wrong after editing. Took me a minute to realize the edit form wasnt honoring the saved value. This fix was much easier. I found I was using the wrong variable. An easy fix, but Im surprised it took me so long to notice.
I noticed that my Userbars were failing. It seems a couple of the Perl libraries were generating errors. Ive updated or reinstalled the failing libraries and things appear to be working again.
I found that replying to comments was missing the title, not looking quite like the rest of the site. The issue was using the wrong variable, probably a hold over from an earlier configuration. Things look a bit better after I cleaned up the code.
Apparently Google is deprecating the data-vocabulary.org schema for breadcrumbs. The fix was easier than I expected. I updated my breadcrumbs to use the preferred RDFa format.
Ive moved all of my old ZX81 articles over. This is a straight move, so there are a few duplicates and such that need to be cleaned up. Ill be working through that over the next few days. Pardon the dust while construction is on-going.