Skip to content

feat(client): add social metas#115

Merged
hdgarrood merged 3 commits intopurescript:gh-pagesfrom
evenchange4:patch-1
Jan 1, 2020
Merged

feat(client): add social metas#115
hdgarrood merged 3 commits intopurescript:gh-pagesfrom
evenchange4:patch-1

Conversation

@evenchange4
Copy link
Copy Markdown
Contributor

Add metas to fix something like:

2017-12-11 19 39 00

index.html Outdated
<meta property="og:type" content="website">
<meta property="og:url" content="http://try.purescript.org/">
<meta property="og:title" content="Try PureScript!">
<meta property="og:image" content="https://raw.githubusercontent.com/purescript/logo/master/youtube/channel_icon-800.png">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we should copy this image into this repo?

Copy link
Copy Markdown
Contributor Author

@evenchange4 evenchange4 Dec 12, 2017

Choose a reason for hiding this comment

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

Done. 🙌

Note: The twitter:image property do not support relative paths.

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Dec 11, 2017

Great, thanks!

index.html Outdated
<meta property="og:type" content="website">
<meta property="og:url" content="http://try.purescript.org/">
<meta property="og:title" content="Try PureScript!">
<meta property="og:image" content="http://try.purescript.org/img/channel_icon-800.png">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One last thing - could you please add an attribution notice in a comment here? Something like

<!-- 
The PureScript Logo by Gareth Hughes is licensed under the Creative Commons Attribution 4.0 license (https://creativecommons.org/licenses/by/4.0/).
-->

Thanks!

Copy link
Copy Markdown
Contributor

@paf31 paf31 Dec 12, 2017

Choose a reason for hiding this comment

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

Or maybe you could use og:image:alt and twitter:image:alt.

Copy link
Copy Markdown
Contributor Author

@evenchange4 evenchange4 Dec 13, 2017

Choose a reason for hiding this comment

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

Sure, we should add this information!

@hdgarrood
Copy link
Copy Markdown
Collaborator

Thanks!

@hdgarrood hdgarrood merged commit 27dd3eb into purescript:gh-pages Jan 1, 2020
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