Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct wording when pod doesn't have a SUB|TITLE
  • Loading branch information
Paul Cochrane committed Feb 23, 2015
1 parent bc6acd0 commit d057dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htmlify.p6
Expand Up @@ -198,12 +198,12 @@ sub process-pod-source(:$kind, :$pod, :$filename, :$pod-is-complete) {
$name = $name.split(/\s+/)[*-1];
}
} else {
note "$filename does not have an =TITLE";
note "$filename does not have a =TITLE";
}
if $pod.contents[1] ~~ {$_ ~~ Pod::Block::Named and .name eq "SUBTITLE"} {
$summary = $pod.contents[1].contents[0].contents[0];
} else {
note "$filename does not have an =SUBTITLE";
note "$filename does not have a =SUBTITLE";
}

my %type-info;
Expand Down

0 comments on commit d057dad

Please sign in to comment.