See slack discussion on this in `#quarto` channel.

This is what we get currently when sharing links on Community 
https://community.rstudio.com/t/cannot-get-quarto-pre-render-to-work/143566/3?u=cderv

and it seems we don't have what is needed to get cards using OG meta 
https://www.opengraph.xyz/url/https%3A%2F%2Fquarto.org%2Fdocs%2Fprojects%2Fscripts.html

We encountered this issue already in other places where sharing link tries to create a card. 

I believe we have at least to fix the favicon links as I think: 

* We don't have OG meta for image it seems so it can't be used to generate an official card
* Some website will try to use other information for that, like the favicon for the image. 

For example, for the discourse sharing above, I think it tries to use this information 
````
<link href="../../favicon.png" rel="icon" type="image/png">
````

but the link is relative so it will generate this in Discourse when used as an image 
```
<img src="[https://quarto.org/docs/projects/scripts.html/../../favicon.png](https://quarto.org/docs/favicon.png)" class="site-icon">
```

Couldn't we use an absolute link for the favicon ? 
````
<link href="/favicon.png" rel="icon" type="image/png">
````

would this break the favicon ? 

At first I believe that is what was done (https://github.com/quarto-dev/quarto-web/commit/c9c59624c39595e5ed5c9c0050a461b4e3712343#diff-469a07f57393912a9c17c3ea50ceebe991e32b008beb167a200b17e91fdac6d2L223) before the quarto feature was used. Is it something we should fix in Quarto-cli ? 

But more generally, what about adding a default OG image maybe for our website ? 


cc @dragonstyle 

2022-08-20T12:46:58Z
cderv
v1.2
closed
Fix favicon link used as default image when social sharing or add an OG image ? 
https://github.com/quarto-dev/quarto-cli/issues/2014