Commits


add the template for real


switch to the escaping function from tmpl.h it also fixes some issue / limitations of the old htmlescape / printurl.


import the template compiler i've been working on


missing </dl>


close pre, list and nav before the footer


fix utf8 spelling, apparently utf-8 is preferred


add the meta viewport for responsive


add a stylesheet, will probably be used by default


fix `make install'


link the manpage


add a galileo.conf(5) man page


add a galileo(8) man page


add a README


refactor proxy_read - avoid the ugly `goto copy' to jump back to the start - avoid leaking memory


parse response MIME, check the charset and lang If the charset is not UTF-8 nor ASCII then we don't know how to handle the body and so rejects it. An abset charset is implied to be utf8, so we're good. In the generated HTML we always use UTF8 charset, which is fine too, since it is a superset of ASCII. Attempt also at saving the lang for later reuse in the generated HTML.