opentofu/website/layouts/registry.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

36 lines
1.1 KiB
Plaintext

<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<h4><a href="/docs/registry/index.html">Terraform Registry</a></h4>
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-registry-use") %>>
<a href="/docs/registry/modules/use.html">Finding and Using Modules</a>
</li>
<li<%= sidebar_current("docs-registry-publish") %>>
<a href="/docs/registry/modules/publish.html">Publishing Modules</a>
</li>
<li<%= sidebar_current("docs-registry-verified") %>>
<a href="/docs/registry/modules/verified.html">Verified Modules</a>
</li>
<li<%= sidebar_current("docs-registry-private") %>>
<a href="/docs/registry/private.html">Private Registries</a>
</li>
<li<%= sidebar_current("docs-registry-api") %>>
<a href="/docs/registry/api.html">Registry API</a>
</li>
<li<%= sidebar_current("docs-registry-support") %>>
<a href="/docs/registry/support.html">Registry Support</a>
</li>
</ul>
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform Registry" }) %>
<% end %>
<%= yield %>
<% end %>