summaryrefslogtreecommitdiffstats
path: root/blog/builddb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'blog/builddb.pl')
-rwxr-xr-xblog/builddb.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/blog/builddb.pl b/blog/builddb.pl
index 1cec2615..17c681fe 100755
--- a/blog/builddb.pl
+++ b/blog/builddb.pl
@@ -134,7 +134,8 @@ sub builddata($$$$$$)
$dat{"$currid.short"} = ("$c[0]\n$c[1]\n$c[2]\n$c[3]\n");
$idx->delete($currid) if( $idx->findkey($currid) );
- $idx->insert($currid, $rbh->{"$_.content"});
+ $idx->insert($currid, ($dat{"$currid.title"}. "\n".
+ $rbh->{"$_.content"}));
if( !$contentonly ){
debugmsg("\tbuilding $currid linking... ");