further website improvements
This commit is contained in:
parent
85cc5a6a1f
commit
0cb3d31617
4 changed files with 16 additions and 5 deletions
|
|
@ -400,6 +400,7 @@ proc main(c: var TConfigData) =
|
|||
for i in 0..c.tabs.len-1:
|
||||
var file = c.tabs[i].val
|
||||
let rss = if file in ["news", "index"]: extractFilename(rssUrl) else: ""
|
||||
if '.' in file: continue
|
||||
exec(cmd % [c.nimArgs, file])
|
||||
var temp = "web" / changeFileExt(file, "temp")
|
||||
var content: string
|
||||
|
|
|
|||
|
|
@ -24,10 +24,16 @@
|
|||
# var t = c.tabs[i].val
|
||||
#if currentTab == t:
|
||||
<a class="active"
|
||||
#elif t == "community" or t == "news":
|
||||
# continue
|
||||
#else:
|
||||
<a
|
||||
#end if
|
||||
href="${t}.html" title = "$c.projectName - $name">$name</a>
|
||||
#if t.contains('.'):
|
||||
href="${t}" title = "$c.projectName - $name">$name</a>
|
||||
#else:
|
||||
href="${t}.html" title = "$c.projectName - $name">$name</a>
|
||||
#end if
|
||||
#end for
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue