That worked perfectly, thank you. For anyone who’s interested, here’s the model I made as /site/models/article.php
:
<?php
class ArticlePage extends Page {
public function url($options = null): string {
return $this->slug();
}
}
That worked perfectly, thank you. For anyone who’s interested, here’s the model I made as /site/models/article.php
:
<?php
class ArticlePage extends Page {
public function url($options = null): string {
return $this->slug();
}
}