WIP
This commit is contained in:
@@ -544,6 +544,11 @@ class Site
|
||||
return in_array('logged-in', $classes) ? $classes : [$guestClass, ...$classes];
|
||||
});
|
||||
}
|
||||
|
||||
// change excerpt langth
|
||||
if (array_key_exists("excerpt-length", $this->config)) {
|
||||
add_filter("excerpt-length", fn () => $this->config["excerpt-length"], 999);
|
||||
}
|
||||
}
|
||||
|
||||
private function registerMenuLocations()
|
||||
|
||||
Reference in New Issue
Block a user