mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
A few minor tweaks; remove unsupported platforms from download page
Fixes #51 along with a few other errors
This commit is contained in:
parent
ba0cee8a47
commit
55b2a684c8
4 changed files with 9 additions and 6 deletions
|
@ -160,7 +160,7 @@ function beginRendering(json) {
|
|||
console.log("DATA:", pageData);
|
||||
|
||||
// show notice if module is non-standard
|
||||
if (!isStandard(pageData.structure.type_name)) {
|
||||
if (pageData.structure.type_name && !isStandard(pageData.structure.type_name)) {
|
||||
var projectHref = 'https://'+pageData.structure.type_name;
|
||||
projectHref = substrBeforeLastDot(projectHref);
|
||||
$('.nonstandard-project-link').attr('href', projectHref).text(projectHref);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue