first version
This commit is contained in:
9
site/models/album.php
Executable file
9
site/models/album.php
Executable file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
class AlbumPage extends Page
|
||||
{
|
||||
public function cover()
|
||||
{
|
||||
return $this->content()->get('cover')->toFile() ?? $this->image();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user