aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/resources/js/supporters.js2
-rw-r--r--website/templates/_download-edge.html2
-rw-r--r--website/templates/_scaffold.html4
-rw-r--r--website/templates/all-versions.html2
-rw-r--r--website/templates/changelog.html2
-rw-r--r--website/templates/contributing.html2
-rw-r--r--website/templates/credits.html2
-rw-r--r--website/templates/disable-checked-exceptions.html2
-rw-r--r--website/templates/download-edge.html2
-rw-r--r--website/templates/download.html2
-rw-r--r--website/templates/features/_features.html2
-rw-r--r--website/templates/features/experimental/index.html2
-rw-r--r--website/templates/features/index.html2
-rw-r--r--website/templates/order-license-info.html2
-rw-r--r--website/templates/order-license.html2
-rw-r--r--website/templates/setup/_setup.html2
-rw-r--r--website/templates/supporters.html2
17 files changed, 19 insertions, 17 deletions
diff --git a/website/resources/js/supporters.js b/website/resources/js/supporters.js
index 11f77640..07319226 100644
--- a/website/resources/js/supporters.js
+++ b/website/resources/js/supporters.js
@@ -153,6 +153,8 @@
shuffle(list);
var len = list.length;
+ if (!len) return;
+
var pos = 0;
var c = [], cd = [];
for (var i = 0; i < supPerBar; i++) {
diff --git a/website/templates/_download-edge.html b/website/templates/_download-edge.html
index b5e8af0b..e7eb856c 100644
--- a/website/templates/_download-edge.html
+++ b/website/templates/_download-edge.html
@@ -1,5 +1,5 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="snapshot">
<div class="page-header top5">
<div class="row text-center versionInfo">
<@main.h1 title="Download 'Edgy Guinea Pig' - the Lombok Cutting Edge build" />
diff --git a/website/templates/_scaffold.html b/website/templates/_scaffold.html
index 646f0247..8bb22635 100644
--- a/website/templates/_scaffold.html
+++ b/website/templates/_scaffold.html
@@ -31,7 +31,7 @@
}
}>
-<#macro scaffold load=[]>
+<#macro scaffold load=[] title='Project Lombok'>
<!DOCTYPE html>
<html lang="en">
<head>
@@ -41,7 +41,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/favicon.ico" rel="icon" type="image/x-icon" />
- <title>Project Lombok</title>
+ <title>${title}</title>
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
diff --git a/website/templates/all-versions.html b/website/templates/all-versions.html
index 0c07a520..0207b351 100644
--- a/website/templates/all-versions.html
+++ b/website/templates/all-versions.html
@@ -1,5 +1,5 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="older versions">
<div class="page-header top5">
<div>
<div>
diff --git a/website/templates/changelog.html b/website/templates/changelog.html
index c02deba7..79ba7b2a 100644
--- a/website/templates/changelog.html
+++ b/website/templates/changelog.html
@@ -1,5 +1,5 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="changelog">
<div class="page-header top5">
<div class="row text-center changelog">
${changelog?no_esc}
diff --git a/website/templates/contributing.html b/website/templates/contributing.html
index 3a99c77a..16d68f32 100644
--- a/website/templates/contributing.html
+++ b/website/templates/contributing.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Contribute">
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Contributing to Project Lombok's development" />
diff --git a/website/templates/credits.html b/website/templates/credits.html
index 925ba2d4..3390d762 100644
--- a/website/templates/credits.html
+++ b/website/templates/credits.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Credits">
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Project Lombok - About the authors and everyone that's helped us create Project Lombok." />
diff --git a/website/templates/disable-checked-exceptions.html b/website/templates/disable-checked-exceptions.html
index ccbd0c01..4a758b11 100644
--- a/website/templates/disable-checked-exceptions.html
+++ b/website/templates/disable-checked-exceptions.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Disable Checked Exceptions">
<div class="page-header top5">
<div class="row text-center">
<h1 class="text-center">Tired of checked exceptions?</h1>
diff --git a/website/templates/download-edge.html b/website/templates/download-edge.html
index 469f1284..22044842 100644
--- a/website/templates/download-edge.html
+++ b/website/templates/download-edge.html
@@ -1,5 +1,5 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="snapshot">
<div class="page-header top5">
<div class="row text-center versionInfo">
No edge build has been released since the last <a href="/download">stable release</a> of lombok.
diff --git a/website/templates/download.html b/website/templates/download.html
index a6b21402..3eb5787b 100644
--- a/website/templates/download.html
+++ b/website/templates/download.html
@@ -1,5 +1,5 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Download">
<div class="page-header top5">
<div>
<div class="row page-center">
diff --git a/website/templates/features/_features.html b/website/templates/features/_features.html
index dcee152c..f602b95b 100644
--- a/website/templates/features/_features.html
+++ b/website/templates/features/_features.html
@@ -64,7 +64,7 @@
</#macro>
<#macro scaffold title logline load=[]>
- <@main.scaffold load>
+ <@main.scaffold load title>
<div class="page-header top5" id="featureContent">
<div class="row text-center">
<div class="header-group">
diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html
index dbd2f93c..21e8fceb 100644
--- a/website/templates/features/experimental/index.html
+++ b/website/templates/features/experimental/index.html
@@ -1,7 +1,7 @@
<#import "../../_scaffold.html" as main>
<#import "../_features.html" as f>
-<@main.scaffold>
+<@main.scaffold title="Experimental">
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok experimental features" />
diff --git a/website/templates/features/index.html b/website/templates/features/index.html
index d077ab4d..cd4c9e26 100644
--- a/website/templates/features/index.html
+++ b/website/templates/features/index.html
@@ -1,6 +1,6 @@
<#import "../_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Stable">
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok features" />
diff --git a/website/templates/order-license-info.html b/website/templates/order-license-info.html
index 724e44f7..3572ad0f 100644
--- a/website/templates/order-license-info.html
+++ b/website/templates/order-license-info.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold>
+<@main.scaffold title="Order / Donate">
<div class="page-header top5">
<div class="row text-center">
<h2>Order a professional or enterprise license</h2>
diff --git a/website/templates/order-license.html b/website/templates/order-license.html
index a364fc79..818c27f3 100644
--- a/website/templates/order-license.html
+++ b/website/templates/order-license.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold load=["/js/order-license.js"]>
+<@main.scaffold load=["/js/order-license.js"] title="Order a license">
<div class="page-header top5 order-license">
<div class="row text-center">
<h2>Order a professional or enterprise license</h2>
diff --git a/website/templates/setup/_setup.html b/website/templates/setup/_setup.html
index d5a88fb7..166891ce 100644
--- a/website/templates/setup/_setup.html
+++ b/website/templates/setup/_setup.html
@@ -15,7 +15,7 @@
</#macro>
<#macro scaffold title load=[]>
- <@main.scaffold load>
+ <@main.scaffold load title>
<div class="page-header top5" id="featureContent">
<div class="row text-center">
<div class="header-group">
diff --git a/website/templates/supporters.html b/website/templates/supporters.html
index 2003a23f..9facb090 100644
--- a/website/templates/supporters.html
+++ b/website/templates/supporters.html
@@ -1,6 +1,6 @@
<#import "/_scaffold.html" as main>
-<@main.scaffold load=["js/supporters.js"]>
+<@main.scaffold load=["js/supporters.js"] title="Supporters">
<div class="page-header top5">
<div class="row text-center">
<h1>Project Lombok supporters</h1>