mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Merge pull request #20 from Martimiz/master-update-121112
Styling 404 and selecting toplevel pages without children
This commit is contained in:
commit
0eadf2d174
@ -573,6 +573,9 @@ class DocumentationViewer extends Controller {
|
||||
|
||||
return $children;
|
||||
}
|
||||
} else {
|
||||
if ($page->getRelativeLink() == $this->Remaining[$level]) {
|
||||
$page->LinkingMode = 'current';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
<% base_tag %>
|
||||
<meta charset="utf-8" />
|
||||
<title>SilverStripe Documentation</title>
|
||||
<% require css(docsviewer/css/DocumentationViewer.css) %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user