diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/MarkdownBook/Book.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/MarkdownBook/Book.pm b/scripts/MarkdownBook/Book.pm index f2d723a..fd43041 100644 --- a/scripts/MarkdownBook/Book.pm +++ b/scripts/MarkdownBook/Book.pm @@ -161,7 +161,7 @@ sub write_templated_documents foreach $doc (@{$self->{'docs'}}) { $doc_tmpl->param( - IS_INDEX => (ref($doc_tmpl) eq 'MarkdownBook::Document::Index')); + IS_INDEX => (ref($doc) eq 'MarkdownBook::Document::Index')); $doc_tmpl->param(BOOK_TITLE => $self->{'title'}); $doc_tmpl->param(TITLE => $doc->title()); |