Skip to content

Commit b62c49f

Browse files
committed
Expose dynamic path variables
1 parent 94603ff commit b62c49f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

page/docs/@repo/@doc.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
<article class="_doc-content">
2-
Test!
3-
</article>
1+
Repo doc!

page/docs/@repo/@doc.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
class _DocPage extends Page {
77
public function go() {
8-
die("this");
8+
$repo = $this->dynamicPath->get("repo");
9+
$doc = $this->dynamicPath->get("doc");
910
}
1011
}

page/docs/@repo/index.html

-1
This file was deleted.

0 commit comments

Comments
 (0)