summary refs log tree commit diff stats
path: root/tools/website.tmpl
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-09-10 08:53:58 +0200
committerAraq <rumpf_a@web.de>2015-09-10 10:50:29 +0200
commitd7a472743b6d3e7c0062621d0b861d20edf89663 (patch)
tree931e0ac1d5197e7bced1677e6633f48c803a027b /tools/website.tmpl
parentffe51966b9a424a55a0a6c5ccac37fe0ced3709f (diff)
downloadNim-d7a472743b6d3e7c0062621d0b861d20edf89663.tar.gz
fixes #2559
Diffstat (limited to 'tools/website.tmpl')
-rw-r--r--tools/website.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/website.tmpl b/tools/website.tmpl
index bc3ed8e2c..3209aac51 100644
--- a/tools/website.tmpl
+++ b/tools/website.tmpl
@@ -1,5 +1,5 @@
-#! stdtmpl | standard
-#proc generateHTMLPage(c: var TConfigData, currentTab, content, rss: string): string = 
+#? stdtmpl | standard
+#proc generateHTMLPage(c: var TConfigData, currentTab, content, rss: string): string =
 #  result = ""
 <!DOCTYPE html>
 <html>
@@ -23,7 +23,7 @@
       # if t != "index" and t != "community" and t != "news":
       #   let name = c.tabs[i].key
       #   if currentTab == t:
-            <a class="active" 
+            <a class="active"
       #   else:
             <a
       #   end if
@@ -104,7 +104,7 @@ p.greet() <span class="cmt"># or greet(p)</span>
 <span class="cmt"># declare a C procedure..</span>
 <span class="kwd">proc</span> <span class="def">unsafeScanf</span>(f: <span class="typ">File</span>, s: <span class="typ">cstring</span>)
 <span class="tab">  </span>{.varargs,
-<span class="tab">    </span>importc: <span class="val">"fscanf"</span>, 
+<span class="tab">    </span>importc: <span class="val">"fscanf"</span>,
 <span class="tab end">    </span>header: <span class="val">"&lt;stdio.h&gt;"</span>.}
 
 <span class="cmt"># ..and use it...</span>
@@ -191,7 +191,7 @@ runForever()
 				</div>
 			</div>
 		</footer>
-  
+
 #  if currentTab == "index":
   <script src="assets/index.js"></script>
 # end if