mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Improve how collections are organized and internally and printed to HTML
This commit is contained in:
parent
c8cacc4ace
commit
aed7db7fc1
4 changed files with 23 additions and 15 deletions
|
@ -7,6 +7,6 @@ class Collection{
|
|||
|
||||
public function __construct(string $name){
|
||||
$this->Name = $name;
|
||||
$this->Url = '/collections/' . strtolower(str_replace(' ', '-', Formatter::ToPlainText(Formatter::RemoveDiacritics($this->Name))));
|
||||
$this->Url = '/collections/' . Formatter::MakeUrlSafe($this->Name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue