Skip to content

Commit 7b972cd

Browse files
committed
layouts/article: fix ToC language variable.
Otherwise this isn't shown for English either.
1 parent 86f1946 commit 7b972cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<h1 class="alt-h1 lh-condensed text-center mb-3">{{ page.title }}</h1>
1111
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
12-
{% if lang == "en" %}
12+
{% if page.lang == "en" %}
1313
<nav class="toc mb-4 mb-md-6">
1414
<div class="card col-sm-8 col-md-4 col-lg-3 mx-auto">
1515
<a class="toc-trigger d-block text-center p-3">

0 commit comments

Comments
 (0)