Skip to content

Commit

Permalink
Merge pull request #44 from 8fold/initialize-site-with-request
Browse files Browse the repository at this point in the history
add: breadcrumbs and linkStack
  • Loading branch information
joshbruce authored Jan 22, 2024
2 parents fe3272f + b36c82a commit 0778210
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
@@ -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 0778210

Please sign in to comment.