Insert a link in the blog description?

I’d love to be able to add a link in the description of my blog!
I’ve tried to include some HTML but it doesn’t work.

I’ve tried a bunch of different things, but I can’t make it work.
Maybe someone has some ideas for a javascript snippet?

Should be doable via custom JavaScript. I’ll give it a try and will share the script here if I’m successful.

That actually didn’t take long at all. Here is the custom JavaScript for it:

/* Custom Description*/
const customDescriptionHTML = 'A peek into the mind of a sleep deprived <a href="" target="_blank">software developer</a>, husband, dad and <a href="" target="_blank">gamer</a>.';
const desc = document.querySelector('header').getElementsByTagName('p')[0];
if (desc) {
    desc.innerHTML = customDescriptionHTML;

All you need to do is change the content of the customDescriptionHTML variable to the html you want to display.

You can find a live demo of it here:

1 Like

Ah! Fantastic @dino! Thank you so much.
Much easier than the convoluted things I was trying to do.

1 Like

You are welcome!