From a2f06be6b8195919bfa596c560d72566655c00cc Mon Sep 17 00:00:00 2001 From: Vitor Balocco Date: Mon, 15 Aug 2016 23:13:34 +0200 Subject: [PATCH] Build: optimize rule page title for small browser tabs (fixes #6888) (#6904) --- Makefile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.js b/Makefile.js index 2f7f2a2ccbb..60a4ac6cfbd 100644 --- a/Makefile.js +++ b/Makefile.js @@ -623,7 +623,7 @@ target.gensite = function(prereleaseVersion) { // 5. Prepend page title and layout variables at the top of rules if (path.dirname(filename).indexOf("rules") >= 0) { - text = "---\ntitle: Rule " + ruleName + "\nlayout: doc\n---\n\n\n" + text; + text = "---\ntitle: " + ruleName + " - Rules\nlayout: doc\n---\n\n\n" + text; } else { // extract the title from the file itself