Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
57c152e8
Commit
57c152e8
authored
10 years ago
by
Guo Du
Browse files
Options
Download
Email Patches
Plain Diff
fix nav links to end with / to avoid 301 redirect
parent
35f09315
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/_includes/nav/main.html
+5
-5
docs/_includes/nav/main.html
with
5 additions
and
5 deletions
+5
-5
docs/_includes/nav/main.html
+
5
-
5
View file @
57c152e8
...
@@ -12,19 +12,19 @@
...
@@ -12,19 +12,19 @@
<nav
class=
"collapse navbar-collapse bs-navbar-collapse"
role=
"navigation"
>
<nav
class=
"collapse navbar-collapse bs-navbar-collapse"
role=
"navigation"
>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
<li
{%
if
page.slug =
=
"
getting-started
"
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.slug =
=
"
getting-started
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"../getting-started"
>
Getting started
</a>
<a
href=
"../getting-started
/
"
>
Getting started
</a>
</li>
</li>
<li
{%
if
page.slug =
=
"
css
"
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.slug =
=
"
css
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"../css"
>
CSS
</a>
<a
href=
"../css
/
"
>
CSS
</a>
</li>
</li>
<li
{%
if
page.slug =
=
"
components
"
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.slug =
=
"
components
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"../components"
>
Components
</a>
<a
href=
"../components
/
"
>
Components
</a>
</li>
</li>
<li
{%
if
page.slug =
=
"
js
"
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.slug =
=
"
js
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"../javascript"
>
JavaScript
</a>
<a
href=
"../javascript
/
"
>
JavaScript
</a>
</li>
</li>
<li
{%
if
page.slug =
=
"
customize
"
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
page.slug =
=
"
customize
"
%}
class=
"active"
{%
endif
%}
>
<a
href=
"../customize"
>
Customize
</a>
<a
href=
"../customize
/
"
>
Customize
</a>
</li>
</li>
</ul>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment