markata icon indicating copy to clipboard operation
markata copied to clipboard

Allow specifying `alt` override in title

Open pypeaday opened this issue 2 years ago • 3 comments

Problem:

In my index.md in the frontmatter where I put the title of my landing page, I have some html that renders a hand waving...

<a href="https://pype.dev/"><img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="50px" height="50px"></a>

But then the html string gets rendered in the chrome tab image

It's be nice to specify the actual alt text for the title in this case so the tab can have a sane text representation in the browser

pypeaday avatar Dec 22 '23 16:12 pypeaday

You need some js or maybe some special ico to have an animated icon. gifs are only supported in firefox. I think you are looking for something like this.

    <link rel='icon' href="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" type='image/gif'>

WaylonWalker avatar Jan 02 '24 17:01 WaylonWalker

image Oh that helped a little but didn't perfectly fix it... I wasn't really worried about having the gif in the tab anyways, just the title would be fine

pypeaday avatar Jan 04 '24 22:01 pypeaday

oh, do you have a <title></title> tag anywhere?

WaylonWalker avatar Apr 04 '24 13:04 WaylonWalker