: do-response ( response -- )
dup write-response
- request get method>> "HEAD" =
- [ drop ] [ '[ , write-response-body ] [ http-error. ] recover ] if ;
+ request get method>> "HEAD" = [ drop ] [
+ '[ , write-response-body ]
+ [
+ development-mode get
+ [ http-error. ] [ drop "Response error" ] if
+ ] recover
+ ] if ;
LOG: httpd-hit NOTICE
</div>
- <h2><t:write-title /></h2>
+ <h1><t:write-title /></h1>
<t:call-next-template />
<t:label t:name="author" />: <t:label t:name="title" />
</t:atom>
- <t:atom t:href="$blogs/by" t:query="author">
+ <t:atom t:href="$blogs/by.atom" t:query="author">
Recent Posts by <t:label t:name="author" />
</t:atom>
- <t:title> <t:label t:name="title" /> </t:title>
+ <t:title> <t:label t:name="author" />: <t:label t:name="title" /> </t:title>
<p class="posting-body">
<t:farkup t:name="content" />