X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=theme%2Fhtml.ct;fp=theme%2Fhtml.ct;h=8493cd617e3214c511b540117c0ecbb91976d427;hb=9d8c8e797c0d5d82dffa63686806c513d5699d1b;hp=a882093ef25244c20dd0aa6d5eb60d3e81431166;hpb=c9eac6b3caf31152edf4e643a1f8286261acf160;p=site diff --git a/theme/html.ct b/theme/html.ct index a882093..8493cd6 100644 --- a/theme/html.ct +++ b/theme/html.ct @@ -1,7 +1,7 @@ -<% #include "string.h" %> <% #include "html.h" %> -<% void print_header(void) { %> +<% void print_header(page_t *page) { %> +<% if (page->error) %><%% "Status: %s\n", page->error %> Content-Type: text/html;charset=UTF-8 <% } %> @@ -16,7 +16,7 @@ Content-Type: text/html;charset=UTF-8 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-