Skip to content

Instantly share code, notes, and snippets.

@cmoulliard
Created September 11, 2013 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmoulliard/0103a48b200b18780a2a to your computer and use it in GitHub Desktop.
Save cmoulliard/0103a48b200b18780a2a to your computer and use it in GitHub Desktop.
<div class="navigation-wrapper">
<nav role="navigation" id="site-nav" class="animated drop" itemscope itemtype="http://schema.org/SiteNavigationElement">
<ul>
{% for link in site.links %}
<li>
{% if link.external %}
<a href="{{ link.url }}">{{ link.title }}</a>
{% else %}
<a href="{{ site.url }}{{ link.url }}">{{ link.title }}</a>
{% endif %}
</li>
{% endfor %}
{% if site.google_search_form %}
<li>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:cmoulliard.github.io/articles" />
<input type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
</li>
{% endif %}
<li>
<a href="{{ site.url }}/feed.xml" title="Atom/RSS feed"><i class="icon-rss"></i> Feed</a>
</li>
</ul>
</nav>
</div><!-- /.navigation-wrapper -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment