Skip to content

Commit

Permalink
add: breadcrumbs and linkStack
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Jan 22, 2024
1 parent 4edc2d5 commit b36c82a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/SiteInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,18 @@ public function publicContent(Path $at): PublicContent;
* @return string[]
*/
public function titles(Path $at): array;

/**
* @return array<string, string>
*/
public function breadcrumbs(
Path $at,
int $offset = 0,
int|false $length = false
): array;

/**
* @return array<string, string>
*/
public function linkStack(Path $at): array;
}

0 comments on commit b36c82a

Please sign in to comment.