Skip to content
Snippets Groups Projects
Commit d7cc9f7b authored by Julian Labus's avatar Julian Labus Committed by David Bauer
Browse files

make page title configurable

parent 9f68c767
No related branches found
No related tags found
No related merge requests found
...@@ -196,6 +196,10 @@ var firmwarewizard = function() { ...@@ -196,6 +196,10 @@ var firmwarewizard = function() {
}; };
window.onload = function() { window.onload = function() {
if (config.title !== undefined) {
document.title = config.title;
}
function parseURLasJSON() { function parseURLasJSON() {
var search = location.search.substring(1); var search = location.search.substring(1);
return search ? JSON.parse( return search ? JSON.parse(
......
...@@ -30,6 +30,8 @@ var config = { ...@@ -30,6 +30,8 @@ var config = {
'./images/gluon-factory-example.html': 'stable', './images/gluon-factory-example.html': 'stable',
'./images/gluon-sysupgrade-example.html': 'stable' './images/gluon-sysupgrade-example.html': 'stable'
}, },
// page title
title: 'Firmware',
// branch descriptions shown during selection // branch descriptions shown during selection
branch_descriptions: { branch_descriptions: {
stable: 'Gut getestet, zuverlässig und stabil.', stable: 'Gut getestet, zuverlässig und stabil.',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment