Skip to content

Commit 75c81da

Browse files
committed
Use the computed current page property to fix bug #93
1 parent bf56da0 commit 75c81da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/resources/views/pages/documentation-search.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@php
22
$page = new \Hyde\Framework\Models\DocumentationPage([], '', 'Search', 'search');
33
$title = 'Search';
4-
$currentPage = config('docs.output_directory', 'docs').'/search';
4+
$currentPage = $page->getCurrentPagePath();
55
$markdown = '';
66
@endphp
77

0 commit comments

Comments
 (0)