github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/website/layouts/intro.erb (about)

     1  <% wrap_layout :inner do %>
     2    <% content_for(:custom_share) do %>
     3      <meta name="twitter:card" content="summary_large_image" />
     4      <meta property="og:image" content="<%= image_url("og-image-large.png") %>"/>
     5    <% end %>
     6  
     7    <% content_for :sidebar do %>
     8      <h4><a href="/intro/index.html">Introduction to Terraform</a></h4>
     9  
    10      <ul class="nav docs-sidenav">
    11        <li<%= sidebar_current("what") %>>
    12          <a href="/intro/index.html">What is Terraform?</a>
    13        </li>
    14  
    15        <li<%= sidebar_current("use-cases") %>>
    16          <a href="/intro/use-cases.html">Use Cases</a>
    17        </li>
    18  
    19        <li<%= sidebar_current("vs-other") %>>
    20          <a href="/intro/vs/index.html">Terraform vs. Other</a>
    21          <ul class="nav">
    22            <li<%= sidebar_current("vs-other-chef") %>>
    23              <a href="/intro/vs/chef-puppet.html">Chef, Puppet, etc.</a>
    24            </li>
    25            <li<%= sidebar_current("vs-other-cloudformation") %>>
    26              <a href="/intro/vs/cloudformation.html">CloudFormation, Heat, etc.</a>
    27            </li>
    28            <li<%= sidebar_current("vs-other-boto") %>>
    29              <a href="/intro/vs/boto.html">Boto, Fog, etc.</a>
    30            </li>
    31            <li<%= sidebar_current("vs-other-custom") %>>
    32              <a href="/intro/vs/custom.html">Custom Solutions</a>
    33            </li>
    34          </ul>
    35        </li>
    36  
    37        <li<%= sidebar_current("examples") %>>
    38          <a href="/intro/examples/index.html">Example Configurations</a>
    39          <ul class="nav">
    40            <li<%= sidebar_current("examples-aws") %>>
    41              <a href="/intro/examples/aws.html">Two-Tier AWS Architecture</a>
    42            </li>
    43            <li<%= sidebar_current("examples-cross-provider") %>>
    44              <a href="/intro/examples/cross-provider.html">Cross Provider</a>
    45            </li>
    46            <li<%= sidebar_current("examples-count") %>>
    47              <a href="/intro/examples/count.html">Count Parameter</a>
    48            </li>
    49            <li<%= sidebar_current("examples-consul") %>>
    50              <a href="/intro/examples/consul.html">Consul</a>
    51            </li>
    52          </ul>
    53        </li>
    54      </ul>
    55  
    56      <%= partial("layouts/otherdocs", :locals => { :skip => "Introduction to Terraform" }) %>
    57    <% end %>
    58  
    59    <%= yield %>
    60  <% end %>