% #include "string.h" %>
<% #include "html.h" %>
<% void print_header(void) { %>
Content-Type: text/html;charset=UTF-8
<% } %>
<% void print_link(char *path, char *name, int cur) { %>
class="cur"<% } %>><%= name %>
<% } %>
<% void print_page(page_t *page, menu_t *menu) { %>
<% if (page->title) printf("%s - ", page->title); %>pileus.org
" rel="stylesheet" type="text/css" />
<% if (page->keys) { %>
<% } %>
<% if (page->desc) { %>
<% } %>
">pileus.org
<% if (page->title) printf("%s", page->title); %>
<% print_menu(menu, 0, 0); %>
<% print_menu(menu, 1, -1); %>
<% } %>