opentofu/website/layouts/downloads.erb
Nick Fagerlund 094a5d65d3 website: Use a middleman partial for "other docs" list instead of hardcoding it
This relies on a commit in the terraform-website repo, and should make updating
that list much less annoying.
2019-03-14 10:38:07 +00:00

20 lines
536 B
Plaintext

<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<h4><a href="/downloads.html">Downloads</a></h4>
<ul class="nav docs-sidenav">
<li<%= sidebar_current("downloads-terraform") %>>
<a href="/downloads.html">Download Terraform</a>
</li>
<li<%= sidebar_current("upgrade-guides") %>>
<a href="/upgrade-guides/index.html">Upgrade Guides</a>
</li>
</ul>
<%= partial("layouts/otherdocs", :locals => { :skip => "Download Terraform" }) %>
<% end %>
<%= yield %>
<% end %>