-- I've edited my long message of code because I figured it out. --
I've added a "template global" named "remove_build_index" and have added the code you said above:
my $string = shift;
$string =~ s,$CFG->{build_index}",",g;
return $string;
}
Then I used it in home.html as a test: replacing <%category%> with
<%remove_build_index($category)%>
It has worked great! No more index.html, just linking directly to the directory! Later today I'll be doing that to all variables to remove the index file.
Thanks yogi!
I've added a "template global" named "remove_build_index" and have added the code you said above:
Code:
sub { my $string = shift;
$string =~ s,$CFG->{build_index}",",g;
return $string;
}
Then I used it in home.html as a test: replacing <%category%> with
<%remove_build_index($category)%>
It has worked great! No more index.html, just linking directly to the directory! Later today I'll be doing that to all variables to remove the index file.
Thanks yogi!