first version
This commit is contained in:
Executable
+9
@@ -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