diff options
-rw-r--r-- | include/document.tmpl | 4 | ||||
-rw-r--r-- | scripts/MarkdownBook/Book.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/document.tmpl b/include/document.tmpl index cb8fde4..1f914cd 100644 --- a/include/document.tmpl +++ b/include/document.tmpl @@ -4,9 +4,9 @@ <head> <meta charset="utf-8"> <TMPL_IF NAME="IS_INDEX"> - <title><TMPL_VAR NAME="BOOK_TITLE"> - <TMPL_VAR NAME=TITLE></title> -<TMPL_ELSE> <title><TMPL_VAR NAME="BOOK_TITLE"></title> +<TMPL_ELSE> + <title><TMPL_VAR NAME="BOOK_TITLE"> - <TMPL_VAR NAME="TITLE"></title> </TMPL_IF> <link type="text/css" rel="stylesheet" href="main.css"> <link rel="start" href="index.html"> 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()); |