10 lines
232 B
Nim
10 lines
232 B
Nim
|
import templates
|
||
|
|
||
|
proc templ_title* (title: string): string = tmpli html"""
|
||
|
<h2>$title!</h2>
|
||
|
"""
|
||
|
# proc testPage (name: string): string = tmpli html"""
|
||
|
# <body>
|
||
|
# <h1>Hello $name!</h1>
|
||
|
# </body>
|
||
|
# """
|