<div id=“sidebar” class=“robots-nocontent”>

<dl>
  <dt>Search</dt>
  <dd>
    <form id="search" action="http://www.google.com/search" method="get">
      <p>
        <input type="text" id="search-query" name="q" maxlength="255"
            value="<%== request[:q] ? request[:q] : '' %>" />
        <input type="hidden" name="sitesearch" value="<%== Thoth::Config.site['url'] %>" />
      </p>
    </form>
  </dd>

  <dt>Feeds</dt>
  <dd>
    <a href="<%= Thoth::MainController.r(:atom) %>" type="application/atom+xml">
      <span class="icon feed"></span>
      Posts
    </a>
  </dd>
  <% if Thoth::Config.site['enable_comments'] %>
    <dd>
      <a href="<%= Thoth::CommentController.r(:atom) %>" type="application/atom+xml">
        <span class="icon feed"></span>
        Comments
      </a>
    </dd>
  <% end %>
  <% if @feeds; @feeds.each do |feed| %>
    <dd>
      <a href="<%== feed[:href] %>" rel="alternate" type="<%== feed[:type] %>">
        <span class="icon feed"></span>
        <%== feed[:title] %>
      </a>
    </dd>
  <% end; end %>
</dl>

</div>