diff --git a/app/Classes/Term.php b/app/Classes/Term.php index a72d9cd..ffdb5cd 100644 --- a/app/Classes/Term.php +++ b/app/Classes/Term.php @@ -22,7 +22,7 @@ public function __construct( $this->slug = Str::slug($term); $this->path = sprintf('/termes/%s', $this->slug); $this->bundle = new Bundle($this->path, $source->getDisk()); - $this->link = new Link($this->path, $term, $source); + //$this->link = new Link($this->path, $term, $source); $this->bundle->load(); @@ -46,7 +46,7 @@ public function __construct( public function render() { - return (string) $this->link->toHtmlElement(); + return sprintf('%s', $this->path, $this->term); } public static function register(string $term, string $subCategory, Bundle $source)