fix sidebar current

This commit is contained in:
Adrien Delorme 2019-12-18 17:14:02 +01:00
parent 8cdf8ca442
commit 0436457fd7
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
--- ---
layout: "docs" layout: "docs"
page_title: "JSON Configuration Syntax - Configuration Language" page_title: "JSON Configuration Syntax - Configuration Language"
sidebar_current: configuration-syntax-json sidebar_current: configuration-json-syntax
description: |- description: |-
In addition to the native syntax that is most commonly used with Packer, In addition to the native syntax that is most commonly used with Packer,
the HCL language can also be expressed in a JSON-compatible syntax. the HCL language can also be expressed in a JSON-compatible syntax.

View File

@ -3,12 +3,12 @@
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("configuration") %>> <li<%= sidebar_current("configuration") %>>
<a href="/docs/configuration/from-1.5/index.html">HCL</a> <a href="/docs/configuration/from-1.5/index.html">v1.5 Configuration Language</a>
<ul class="nav"> <ul class="nav">
<li<%= sidebar_current("configuration-syntax") %>> <li<%= sidebar_current("configuration-syntax") %>>
<a href="/docs/configuration/from-1.5/syntax.html">Syntax</a> <a href="/docs/configuration/from-1.5/syntax.html">Syntax</a>
</li> </li>
<li<%= sidebar_current("configuration-syntax-json") %>> <li<%= sidebar_current("configuration-json-syntax") %>>
<a href="/docs/configuration/from-1.5/syntax-json.html">JSON Syntax</a> <a href="/docs/configuration/from-1.5/syntax-json.html">JSON Syntax</a>
</li> </li>
</ul> </ul>