View Post

Gentle reminder about file naming conventions

One of the podcasts I enjoy is Code Breakers, specifically because of their approach to reporting on technology. They don’t shy away from the good or the bad, and frame the stories and conversations in interesting ways. Another really¬†fun aspect of the show is that the entire season is already online and can downloaded if you can crack the codes …

View Post

Pug Template Form Field Mixins

Node.js has become my go to for making small dynamic websites and micro-services. It’s also a good platform to practice DRY. A few months ago I posted about¬†pug social media mixins but this time I’m sharing another GIST containing forms mixins. What I’ve done is make it simple and much faster to create a form using the pug template engine. …

View Post

Pug Template Social Media Mixins

So far this year I’ve put up at least 8 website projects using express.js homepage and the pug project page on Github template. Each time I’ve had to copy and paste, or generate another set of social media metadata mixins to render the appropriate information when sharing a page. Well it seemed a bit silly to rely on copy and …