This commit is contained in:
Samuel Štancl 2019-09-18 08:53:39 +02:00
parent 773d66956f
commit bb4f140cca
6 changed files with 33 additions and 32 deletions

View file

@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=/docs/getting-started">
<meta http-equiv="refresh" content="0; url=getting-started/index.html">
<title>stancl/tenancy</title>
</head>
</html>

View file

@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=/docs/getting-started">
<meta http-equiv="refresh" content="0; url=getting-started/index.html">
<title>stancl/tenancy</title>
</head>
</html>

View file

@ -1,7 +1,7 @@
<li class="list-reset pl-4">
@if ($url = is_string($item) ? $item : $item->url)
{{-- Menu item with URL--}}
<a href="{{ $page->url($url) }}"
<a href="{{ $page->link($url) }}"
class="{{ 'lvl' . $level }} {{ $page->isActiveParent($item) ? 'lvl' . $level . '-active' : '' }} {{ $page->isActive($url) ? 'active font-semibold text-blue' : '' }} nav-menu__item hover:text-blue"
>
{{ $label }}

View file

@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=docs">
<meta http-equiv="refresh" content="0; url={{ $page->baseUrl . $page->defaultVersion }}/index.html">
<title>stancl/tenancy</title>
</head>
</html>