Mercurial > piecrust2
annotate docs/templates/inc/nav-items.html @ 1145:e94737572542
serve: Fix an issue where false positive matches were rendered as the requested page.
Now we try to render the page, but also try to detect for the most common "empty" pages.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Jun 2018 22:08:51 -0700 |
parents | e135fd873c45 |
children |
rev | line source |
---|---|
1053
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 <ul class="navbar-nav ml-auto"> |
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'tutorial' %} active{% endif %}" href="{{ pcurl('getting-started') }}">Getting Started</a></li> |
1084
e135fd873c45
docs: Cosmetic improvements to the navigation bar.
Ludovic Chabant <ludovic@chabant.com>
parents:
1053
diff
changeset
|
3 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'docs' %} active{% endif %}" href="{{ docurl('') }}">Documentation</a></li> |
e135fd873c45
docs: Cosmetic improvements to the navigation bar.
Ludovic Chabant <ludovic@chabant.com>
parents:
1053
diff
changeset
|
4 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'code' %} active{% endif %}" href="{{ apiurl('') }}">Code</a></li> |
1053
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 <li class="nav-item"><a class="nav-link{% if page.nav_key == 'support' %} active{% endif %}" href="{{ pcurl('support') }}">Support</a></li> |
94d7d5e38571
docs: Upgrade to Bootstrap 4 and Sass.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 </ul> |