my $file = $pagesources{$page};
my $type = pagetype($file);
if (! $raw || ($raw && ! defined $type)) {
- unless ($archive && $quick) {
+ if (!($archive && $quick) &&
+ $template->query(name => 'content')) {
# Get the content before populating the
# template, since getting the content uses
# the same template if inlines are nested.