Blog2022 ≫ Every day is a school day

Doing some tweaking of this website yesterday and while I was looking at the source of the page I thought "can I get rid of some of that repetition?" and it turns out I can. So instead of having this for the search engines, so if I come up it shows a nice summary in the results:

<meta name="description" content="All about Paul Clarke aka Pauly. Writing here most days since 2003.">

and this for the social media, so if someone shares a link it adds a nice summary:

<meta property="og:description" content="All about Paul Clarke aka Pauly. Writing here most days since 2003.">

I can just combine them like so:

<meta name="description" property="og:description" content="All about Paul Clarke aka Pauly. Writing here most days since 2003.">

Not that I am troubled my search engines or social media these days, it's really only me looking at this. No-one is sharing these links on social media and I'm not doing anything worth searching for. It's not like in the old days when I was popping up in top ten results all the time1. But it's good to know. And in theory if I made a popular website again this knowledge would be transferred there.

⬅️ :: ➡️

Paul Clarke's weblog - I live in A small town, Kent. Wed + father to two, I am a full-stack web engineer, + I do javascript / Node, some ruby, python, php ect ect. I like pubs, parkrun, eating, home automation and other diy stuff, history, tree stuff, TV, squirrels, pirates, lego, + TIME TRAVEL.