Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show post.url if the post does not have a thumbnail #23

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

pbui
Copy link
Contributor

@pbui pbui commented Jul 26, 2023

Right now, if a post does not have a post.thumbnail_url and is just a link to another website, the link is not displayed... so the user cannot go to the actual article.

This copies the link code from the Post object and provides a link if there is a post.url but not a post.thumbnail_url.

An example of this is here:

https://nu.lemdro.id/post/lemmy.world/2164687

There is no thumbnail, so there is no link for the user to click on to visit the article.

Right now, if a post does not have a post.thumbnail_url and is just a
link to another website, the link is not displayed... so the user cannot
go to the actual article.

This copies the link code from the Post object and provides a link if
there is a post.url but not a post.thumbnail_url.
@vercel
Copy link

vercel bot commented Jul 26, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @Xyphyn on Vercel.

@Xyphyn first needs to authorize it.

@Xyphyn
Copy link
Owner

Xyphyn commented Jul 26, 2023

Whoops, yeah, i forgot to add that

@Xyphyn Xyphyn merged commit e778450 into Xyphyn:main Jul 26, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants