comments: record the time at which each comment was posted
parent
e66e2c2a7e
commit
24bfc3fdc5
|
@ -316,6 +316,7 @@ sub sessioncgi ($$) { #{{{
|
|||
$content_tmpl->param(body => $body);
|
||||
$content_tmpl->param(anchor => "$anchor");
|
||||
$content_tmpl->param(permalink => "$baseurl#$anchor");
|
||||
$content_tmpl->param(date => formattime(time, "%X %x"));
|
||||
|
||||
my $content = $content_tmpl->output;
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
<TMPL_IF NAME="PERMALINK">
|
||||
[[!meta permalink="<TMPL_VAR PERMALINK ESCAPE=HTML>"]]
|
||||
</TMPL_IF>
|
||||
<TMPL_IF NAME="DATE">
|
||||
[[!meta date="<TMPL_VAR DATE ESCAPE=HTML>"]]
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_IF NAME="ANCHOR">
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue