We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a70ce5 + 8da07dc commit 1d11529Copy full SHA for 1d11529
layouts/index.hbs
@@ -50,7 +50,14 @@
50
<a href="https://github.com/nodejs/node/blob/{{ project.currentVersions.lts }}/CHANGELOG.md">{{ labels.lts }}</a>
51
/ <a href="https://github.com/nodejs/node/blob/{{ project.currentVersions.stable }}/CHANGELOG.md">{{ labels.stable }}</a>
52
</li>
53
- <li><a href="{{ site.docs.api.link }}">{{ labels.api }}</a></li>
+ <li>
54
+ {{#if project.currentVersions.stable}}
55
+ {{ labels.api }}: <a href="https://nodejs.org/dist/{{ project.currentVersions.lts }}/docs/api/">{{ labels.lts }}</a>
56
+ / <a href="{{ site.docs.api.link }}">{{ labels.stable }}</a>
57
+ {{else}}
58
+ <a href="{{ site.docs.api.link }}">{{ labels.api }}</a>
59
+ {{/if}}
60
+ </li>
61
</ul>
62
63
</div>
0 commit comments