summary refs log tree commit diff stats
path: root/tools/website.tmpl
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2016-06-04 22:30:59 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2016-06-04 22:30:59 +0100
commite0f6d0cd10e7bd174b9b8a2132a6bcdc9c19bd50 (patch)
tree3012ba42cfe5213108191f89f85e9d76ba83815d /tools/website.tmpl
parente62b55054aff7e708416d075aade371233f39136 (diff)
downloadNim-e0f6d0cd10e7bd174b9b8a2132a6bcdc9c19bd50.tar.gz
Fixes website page titles.
Diffstat (limited to 'tools/website.tmpl')
-rw-r--r--tools/website.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/website.tmpl b/tools/website.tmpl
index 0657c275b..7585e544e 100644
--- a/tools/website.tmpl
+++ b/tools/website.tmpl
@@ -1,12 +1,12 @@
 #? stdtmpl | standard
-#proc generateHTMLPage(c: var TConfigData, currentTab, content, rss,
+#proc generateHTMLPage(c: var TConfigData, currentTab, title, content, rss,
 #   rootDir = ""): string =
 #  result = ""
 <!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="content-type" content="text/html; charset=utf-8">
-    <title>${currentTab} - $c.projectTitle</title>
+    <title>${title} - $c.projectTitle</title>
     <link rel="stylesheet" type="text/css" href="${rootDir}assets/style.css?t=2221" />
     <link rel="shortcut icon" href="${rootDir}assets/images/favicon.ico">
   #if len(rss) > 0: