Skip to content

Conversation

@ochrons
Copy link
Contributor

@ochrons ochrons commented Jan 28, 2016

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

The two URLs should include www., as in https://www.scala-js.org/...
The non-www URLs http-redirect to http://www.scala-js.org/ (without the s of https).

Copy link
Member

Choose a reason for hiding this comment

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

In fact, it would be better to use {{ site.production_url }}/assets/...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, adding www is good. But production_url doesn't give the HTTPS we want, so that there are never any security conflicts in sites using the badges. Better to hardcode the HTTPS there in this case.

@sjrd
Copy link
Member

sjrd commented Jan 28, 2016

That's all.

@sjrd
Copy link
Member

sjrd commented Jan 28, 2016

LGTM

sjrd added a commit that referenced this pull request Jan 28, 2016
Moved badge generator to Libraries main page
@sjrd sjrd merged commit 1be064c into scala-js:master Jan 28, 2016
@ochrons ochrons deleted the badges branch March 3, 2016 08:03
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.

2 participants