andriusvelykis / reflow-maven-skin

Reflow is an Apache Maven site skin built on Bootstrap. It allows various structural and stylistic customizations to create a modern-looking Maven-generated website.
http://andriusvelykis.github.io/reflow-maven-skin/
Apache License 2.0
133 stars 54 forks source link

Bootswatch CDN URLs incorrect #47

Open bindul opened 8 years ago

bindul commented 8 years ago

The generated URLs for CSS files for Bootswatch from the Bootstrap CDN are no longer valid. The generated URL:

<link href="http://netdna.bootstrapcdn.com/bootswatch/2.3.2/yeti/bootstrap.min.css" rel="stylesheet" />

returns a Access Denied error.

The Bootstrap CDN page, seems to indicate the URL (for the same theme) should be:

https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/yeti/bootstrap.min.css

Of course this is for version 3.3.5 of Bootswatch.

bindul commented 8 years ago

OK, some more investigation and I realized the problem I was running into. The theme I was trying to use (yeti) does not exist in Bootswatch 2.x, but does in Bootswatch 3.x

The change in CDN above needs to be handled when upgrading to Bootstrap / Bootswatch 3.x (Issue #15 ).

In the meanwhile the Site documentation referring to the Bootswatch Gallery should be updated to https://bootswatch.com/2/ rather than https://bootswatch.com/.