-
-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
Currently, we use the last segment of a link for this purpose. It works well for links that have an image or a file. For instance, https://foo.com/image.png
gets rendered as image.png
. However, it does have a few caveats.
A route, suggested by @sumanthvrao, that we could take is the following:
- If a link is an internal link, show its relevant part.
- If a link is pointing to an image or a file, show its filename/ending.
- If a link is a general link, show its domain name.