I haven't used it in a while and the existing "description"
is probably good enough.
If we support it again, it should be plain-text + auto-linkified
for ease-of-maintenance and consistency.
$self->{cloneurl} = \@url;
}
-# TODO: can we remove this?
-sub footer_html {
- my ($self) = @_;
- my $footer = $self->{footer};
- return $footer if defined $footer;
- $footer = try_cat("$self->{mainrepo}/public-inbox/footer.html");
- chomp $footer;
- $self->{footer} = $footer;
-}
-
sub base_url {
my ($self, $prq) = @_; # Plack::Request
if (defined $prq) {
my ($ctx) = @_;
return '' unless $ctx;
my $obj = $ctx->{-inbox} or return '';
- my $footer = $obj->footer_html;
- return $ctx->{footer} = $footer if $footer;
# auto-generate a footer
chomp(my $desc = $obj->description);