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 Opengraph and Twitter tags #320

Merged
merged 1 commit into from
Jan 3, 2020

Conversation

RiccardoMasutti
Copy link
Contributor

@RiccardoMasutti RiccardoMasutti commented Dec 27, 2019

Added <meta property="og:url">, <meta property="twitter:description"> and <meta property="twitter:image"> tags as they were missing.

Fixed <meta property="twitter:site"> as it was broken

Marking up content on Bisq website can:

  • Lead to the generation of rich snippets in search engine results like the one showed on top
  • Enhance CTR (Click Through Rate) from the search result
  • Provide greater information to search engines to improve their understanding of the content on Bisq website

@m52go
Copy link
Contributor

m52go commented Jan 3, 2020

ACK

@m52go m52go merged commit b08b3dd into bisq-network:master Jan 3, 2020
<meta property="twitter:site" content="{{ langdata.enabled }}">
<meta property="twitter:site" content="https://bisq.network/">
<meta property="twitter:description" content="{{ langdata.site_desc }}">
<meta property="twitter:image" content="/images/bisq-og.jpg">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Twitter cards do not support relative paths, and you have to use a fully-qualified HTTP(S) URL in the image tag.

Screen Shot 2020-03-10 at 3 35 23

Good job "fixing" the twitter tag, did you guys even test this? lol
The twitter card preview image is broken now :)

<meta property="twitter:site" content="{{ langdata.enabled }}">
<meta property="twitter:site" content="https://bisq.network/">
<meta property="twitter:description" content="{{ langdata.site_desc }}">
<meta property="twitter:image" content="/images/bisq-og.jpg">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<meta property="twitter:image" content="/images/bisq-og.jpg">
<meta property="twitter:image" content="https://bisq.network/images/bisq-og.jpg">

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.

3 participants