blog/themes/classic/source/_includes/navigation.html
Brandon Mathis 814be44c15 1. Improved responsive navigation styling when email subscription is present
2. Refactored subscription styling to be more DRY
3. Added an image for email subscriptions
4. Added assets directory to the gitignore for stashing working files
5. Improved gem list in the Gemfile
2011-06-11 15:23:54 -04:00

17 lines
731 B
HTML

<ul role="subscription" data-subscription="rss{% if site.subscribe_email %} email{% endif %}">
<li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
{% if site.subscribe_email %}
<li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
{% endif %}
</ul>
<form action="{{ site.simple_search }}" method="get">
<fieldset role="site-search">
<input type="hidden" name="q" value="site:{{ site.url | search_url }}" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul role="main-nav">
<li><a href="/">Home</a></li>
<li><a href="/archive.html">Archive</a></li>
</ul>