Improved page active links

This commit is contained in:
Syrus Akbary 2015-10-06 22:11:48 -07:00
parent 204381803e
commit ace871a49f
3 changed files with 4 additions and 2 deletions

View File

@ -17,8 +17,8 @@ layout: default
</a>
<nav id="page-nav">
<a href="">Starwars Django Example</a>
<a href="/quickstart">Quickstart Guide</a>
<a href="/community" class="active">Community</a>
<a href="/quickstart"{% if page.active_tab == "quickstart" %} class="active"{% endif %}>Quickstart Guide</a>
<a href="/community"{% if page.active_tab == "community" %} class="active"{% endif %}>Community</a>
<a href="https://github.com/graphql-python/graphene/"><span class="github-icon">Github</span></a>
</nav>
</header>

View File

@ -1,6 +1,7 @@
---
layout: page
title: Community
active_tab: community
description: The biggest GraphQL Community in Python
---

View File

@ -1,6 +1,7 @@
---
layout: page
title: Quickstart Guide
active_tab: quickstart
description: A Quick guide to Graphene
---