nim-theNewWeb/tmpl/test.tmpl

26 lines
692 B
Cheetah
Raw Normal View History

#? stdtmpl | standard
# import snippet_html
#proc test_notebooks(c: var TData, all_notebooks: var joplin_notebooks): string =
# result = ""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>
</head>
<body>
# var title = templ_title("NOTEBOOKS")
<div> ${title} </div>
# for i in all_notebooks.title:
<h4> ${i} </h4>
# end for
</body>
</html>
#end proc