Improve how collections are organized and internally and printed to HTML

This commit is contained in:
Alex Cabal 2020-05-22 16:22:46 -05:00
parent c8cacc4ace
commit aed7db7fc1
4 changed files with 23 additions and 15 deletions

View file

@ -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);
}
}