Closed cderv closed 3 years ago
Also a pkgdown issue: https://github.com/r-lib/pkgdown/issues/1519
Does dev pkgdown fix the issue? https://github.com/r-lib/pkgdown/pull/1521
Dev pkgdown fix the issue of not having the hover, but maybe it creates another one. See current https://pkgs.rstudio.com/bookdown/articles/articles/examples.html
The test I added in quillt seems to correctly pass so we get the correct structure. But pkgdown rewrites it... so looking into this.
Oh yikes!
No it isn't pkgdown - the HTML source is ok - it seems th tweak I made are not correct 😞 Still looking. Maybe I need to tweak the hover thing. Can you point me where is the piece of code doing this in the template ?
Looks like the issue is that thumbnail
as a class is being applied to the <div class="caption">
elements
From distill:
<a class="thumbnail" title="Piping Hot Data" href="https://www.pipinghotdata.com/">
<img src="images/piping-hot-data.png">
<div class="caption">Piping Hot Data</div>
</a>
Yes this is the issue. But I don't yet know why. I will check the HTML I am writing for source, I must have done a mistake there.
Oh I know. Rookie mistake. I made the source a link inside a link 🤕 not good.
Closed by #13
I may have miss something in #6