Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'smcv/htmlbalance'
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
search.pm
diff --git
a/IkiWiki/Plugin/search.pm
b/IkiWiki/Plugin/search.pm
index cb12d9500d95a31545426fd3c984e3297286d457..e40f4888c44721005ab96d9a1bb4590b13fcea89 100644
(file)
--- a/
IkiWiki/Plugin/search.pm
+++ b/
IkiWiki/Plugin/search.pm
@@
-17,6
+17,10
@@
sub import { #{{{
sub getsetup () { #{{{
return
sub getsetup () { #{{{
return
+ plugin => {
+ safe => 1,
+ rebuild => 1,
+ },
omega_cgi => {
type => "string",
example => "/usr/lib/cgi-bin/omega/omega",
omega_cgi => {
type => "string",
example => "/usr/lib/cgi-bin/omega/omega",
@@
-69,7
+73,7
@@
sub index (@) { #{{{
my $db=xapiandb();
my $doc=Search::Xapian::Document->new();
my $db=xapiandb();
my $doc=Search::Xapian::Document->new();
- my $caption=
IkiWiki::
pagetitle($params{page});
+ my $caption=pagetitle($params{page});
my $title;
if (exists $pagestate{$params{page}}{meta} &&
exists $pagestate{$params{page}}{meta}{title}) {
my $title;
if (exists $pagestate{$params{page}}{meta} &&
exists $pagestate{$params{page}}{meta}{title}) {