<% wrap_layout :inner do %>
  <% content_for :sidebar do %>
    <ul class="nav docs-sidenav">
      <li<%= sidebar_current("what") %>>
        <a href="/intro/index.html">What is Consul?</a>
      </li>

      <li<%= sidebar_current("vs-other") %>>
        <a href="/intro/vs/index.html">Consul vs. Other Software</a>
        <ul class="nav">
          <li<%= sidebar_current("vs-other-zk") %>>
            <a href="/intro/vs/zookeeper.html">ZooKeeper, doozerd, etcd</a>
          </li>
          <li<%= sidebar_current("vs-other-chef") %>>
            <a href="/intro/vs/chef-puppet.html">Chef, Puppet, etc.</a>
          </li>
          <li<%= sidebar_current("vs-other-nagios-sensu") %>>
            <a href="/intro/vs/nagios-sensu.html">Nagios, Sensu</a>
          </li>
          <li<%= sidebar_current("vs-other-skydns") %>>
            <a href="/intro/vs/skydns.html">SkyDNS</a>
          </li>
          <li<%= sidebar_current("vs-other-smartstack") %>>
            <a href="/intro/vs/smartstack.html">SmartStack</a>
          </li>
          <li<%= sidebar_current("vs-other-serf") %>>
            <a href="/intro/vs/serf.html">Serf</a>
          </li>
          <li<%= sidebar_current("vs-other-eureka") %>>
            <a href="/intro/vs/eureka.html">Eureka</a>
          </li>
          <li<%= sidebar_current("vs-other-custom") %>>
            <a href="/intro/vs/custom.html">Custom Solutions</a>
          </li>
        </ul>
      </li>

      <li<%= sidebar_current("gettingstarted") %>>
        <a href="/intro/getting-started/install.html">Getting Started</a>
        <ul class="nav">
          <li<%= sidebar_current("gettingstarted-install") %>>
            <a href="/intro/getting-started/install.html">Install Consul</a>
          </li>
          <li<%= sidebar_current("gettingstarted-agent") %>>
            <a href="/intro/getting-started/agent.html">Run the Agent</a>
          </li>
          <li<%= sidebar_current("gettingstarted-services") %>>
            <a href="/intro/getting-started/services.html">Services</a>
          </li>
          <li<%= sidebar_current("gettingstarted-join") %>>
            <a href="/intro/getting-started/join.html">Consul Cluster</a>
          </li>
          <li<%= sidebar_current("gettingstarted-checks") %>>
            <a href="/intro/getting-started/checks.html">Health Checks</a>
          </li>
          <li<%= sidebar_current("gettingstarted-kv") %>>
            <a href="/intro/getting-started/kv.html">KV Data</a>
          </li>
          <li<%= sidebar_current("gettingstarted-ui") %>>
            <a href="/intro/getting-started/ui.html">Web UI</a>
          </li>
          <li<%= sidebar_current("gettingstarted-nextsteps") %>>
            <a href="/intro/getting-started/next-steps.html">Next Steps</a>
          </li>
        </ul>
      </li>
    </ul>
  <% end %>

  <%= yield %>
<% end %>
