3 hours ago · Tech · hide · 0 comments

Okay, so I'm not off to a great start with Blaugust this year, I've not been sleeping very well and I've spent most evenings trying and failing to work on my next project. 🙁 To that ends, while I was doing some testing for my current CMS I realised that I haven't been including any <link rel="alternate">'s in my HTML. Making the feed discovery a pain. Sorry about that but someone should have told me I was being rubbish. Anyway this prompted my to go fix it in myPOSSE-Builder, and wouldn't you know it I broke it. Here's a tip for you after you implement a feature, update some libraries, or just change the logic in some inconsequential way, test your freaking code still works, and then commit it. It took me all day yesterday to work out that what I needed to do was stop reusing the TemplateContext for Scriban. I had it as a global in my HtmlRepository class and something had changed somewhere in the execution chain. If I was parsing a Page object as apposed to a Post object calling…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.