Skip to content

Commit 445a8d3

Browse files
committed
Fix: isArchive as function
1 parent f821f8a commit 445a8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Template.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function loadController(string $template = ''): array
134134
$isSingular = fn() => is_singular();
135135
$isArchive = fn() => is_archive() || is_home();
136136

137-
if ($isArchive) {
137+
if ($isArchive()) {
138138
$template = 'archive';
139139
}
140140

0 commit comments

Comments
 (0)