Commit Graph

14 Commits

Author SHA1 Message Date
Brian Clozel
af3d62e9b5 Fix content warning issues over https
When served with HTTP/2 and TLS, project pages show several mixed
content errors:

* the imported Google fonts
* the AJAX call to spring.io to get the current project information
* the newsletter iframe

This commit changes URLs to use https or protocol-relative URLs when
possible. This also deletes the now defunct newsletter integration.
2017-01-04 08:18:41 -06:00
Greg Turnquist
df5166e82d Conditionalize showing reference doc/api doc links
If the reference doc URL of the API doc URL is empty, don't display a hyperlink.
2017-01-04 08:18:41 -06:00
Brian Clozel
36978a49e8 Revert "Display Pivotal Education related courseware"
This reverts commit bf15ee8a6d.
2017-01-04 08:18:41 -06:00
Brian Clozel
06a7a5099a Display Pivotal Education related courseware
This change adds a new "Related Courseware" section in the side
container; this section lists links to courses and talks that are
relevant to the current project page.

Relevant content is fetched by the browser, with an AJAX request sent to
the Pivotal Education LMS API. This API uses the Referrer HTTP header as
input parameter to its content selection algorithm.

Note that CORS HTTP headers are also used to allow/disallow AJAX cross
domain requests.
2017-01-04 08:18:41 -06:00
Rob Winch
0c7490a25d Merge remote-tracking branch 'gh-pages-upstream/gh-pages' into gh-pages 2014-10-30 13:35:12 -05:00
Brian Clozel
b80c25224c Change Forum navbar item to Questions
The projects navbar should mirror the one on the spring.io website.
2014-10-28 16:48:17 -05:00
Brian Clozel
77167c0d39 Fix company name and website in footer 2014-09-22 18:52:09 +02:00
Brian Clozel
56978cfc90 Change Forum navbar item to Questions
The projects navbar should mirror the one on the spring.io website.
2014-09-03 23:01:21 +02:00
Andy Wilkinson
79f6cf8995 Make the link to a project's forum optional
Omit the link to the forum if the project's metadata does not provide
a forum url
2014-06-20 08:27:44 -05:00
Phillip Webb
b8773f1166 Remove 'not found in _includes' hacks
Remove the use if "unless contains 'not found in _includes directory'"
hacks that were previously used to detect when _includes were missing.

This change is required as the hack no longer works with the latest
Jekyll release (and therefore also with GitHub).

Additional 'custom_pom_template' and 'custom_gradle_template' flags
must now be set in _config.yml if you want to include a custom pom.xml
or build.gradle file.
2014-06-20 08:27:44 -05:00
Andy Wilkinson
7e6493ef7b Make the link to a project's forum optional
Omit the link to the forum if the project's metadata does not provide
a forum url
2014-05-13 16:22:19 +01:00
Phillip Webb
85ed196cf4 Remove 'not found in _includes' hacks
Remove the use if "unless contains 'not found in _includes directory'"
hacks that were previously used to detect when _includes were missing.

This change is required as the hack no longer works with the latest
Jekyll release (and therefore also with GitHub).

Additional 'custom_pom_template' and 'custom_gradle_template' flags
must now be set in _config.yml if you want to include a custom pom.xml
or build.gradle file.
2013-11-14 10:11:34 -08:00
Rob Winch
8281d5c33b Add project page 2013-09-09 01:42:26 -07:00
Phillip Webb
171918e41a Initialize shared gh-pages infrastructure 2013-09-09 01:41:47 -07:00