summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2009-05-08 16:36:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2009-05-08 16:36:06 +0200
commitdb4f617afcd095db087dcb52e3ea603cca111da7 (patch)
treeeeffcc8fb523171dc394c136acf9b8006ec4138f /tools
parent08bc9ac03c49db7bfcdee82f46aadf95a324e015 (diff)
downloadNim-db4f617afcd095db087dcb52e3ea603cca111da7.tar.gz
version 0.7.8
Diffstat (limited to 'tools')
-rw-r--r--tools/niminstbin311978 -> 295608 bytes
-rw-r--r--tools/nimweb.nim10
-rw-r--r--tools/sunset.tmpl4
3 files changed, 10 insertions, 4 deletions
diff --git a/tools/niminst b/tools/niminst
index a21ff1486..628e7632a 100644
--- a/tools/niminst
+++ b/tools/niminst
Binary files differdiff --git a/tools/nimweb.nim b/tools/nimweb.nim
index 135be9570..63f13ea25 100644
--- a/tools/nimweb.nim
+++ b/tools/nimweb.nim
@@ -1,7 +1,7 @@
 #
 #
 #        The Nimrod Website Generator
-#        (c) Copyright 2008 Andreas Rumpf
+#        (c) Copyright 2009 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.
@@ -15,7 +15,7 @@ type
   TConfigData = object of TObject
     tabs, links: seq[TKeyValPair]
     doc, srcdoc, webdoc: seq[string]
-    authors, projectName, projectTitle, infile, outdir, ticker: string
+    authors, projectName, projectTitle, logo, infile, outdir, ticker: string
     vars: PStringTable
     nimrodArgs: string
 
@@ -29,6 +29,9 @@ proc initConfigData(c: var TConfigData) =
   c.outdir = ""
   c.nimrodArgs = ""
   c.authors = ""
+  c.projectTitle = ""
+  c.projectName = ""
+  c.logo = ""
   c.ticker = ""
   c.vars = newStringTable(modeStyleInsensitive)
 
@@ -37,7 +40,7 @@ include "sunset.tmpl"
 # ------------------------- configuration file -------------------------------
 
 const
-  Version = "0.5"
+  Version = "0.6"
   Usage = "nimweb - Nimrod Installation Generator Version " & version & """
 
   (c) 2008 Andreas Rumpf
@@ -119,6 +122,7 @@ proc parseIniFile(c: var TConfigData) =
           case normalize(k.key)
           of "name": c.projectName = v
           of "title": c.projectTitle = v
+          of "logo": c.logo = v
           of "authors": c.authors = v
           else: quit(errorStr(p, "unknown variable: " & k.key))
         of "var": nil
diff --git a/tools/sunset.tmpl b/tools/sunset.tmpl
index e10f58eff..44f7ac486 100644
--- a/tools/sunset.tmpl
+++ b/tools/sunset.tmpl
@@ -14,7 +14,9 @@
     <div id="links">
       <!-- **** INSERT LINKS HERE **** -->
     </div>
-    <div id="logo"><h1>$c.projectTitle</h1></div>
+    <div id="logo"><h1>$c.projectTitle</h1>
+    <h2>$c.logo</h2>
+    </div>
     <div id="content">
       <div id="menu">
         <ul>