Over the past few days I’ve been revamping oodavid.com in terms of direction and style. While considering my work I took the opportunity to also review my choice of static-site-generator (SSG).
Jekyll was such a no-brainer at the time; SSGs were in their infancy and GitHub offers free generating and hosting of Jekyll sites. The development cost to me was negligable. Fast-forward a number of years and the SSG space has exploded, in fact, it feels like the choice of programming languages grows with a power-law!
Meta tags have played a huge role in search-engine history. While they no longer affect SEO rankings in the same way, they are more vital than ever in the “social sharing” ecosystem.
In this article I demonstrate a simple AngularJS Service that allows you to manage the
<meta> tags in your app. I explain how AngularJS best practices aren’t fit-for-purpose and offer a simple solution. I also explore debugging on Twitter, Pinterest and Facebook and the need for pre-rendering using 3rd party SaaS products.
The migration has encouraged me to add a simple taskrunner (
npm scripts that run
SASS) and to play with a more modern style. The design is heavily based on the Stellar theme by HTML5Up, although my source code has been written from the ground-up. What can I say, I like to learn by doing.