Skip to content

Commit 2459e2a

Browse files
committed
Fix translation draft parameter in content availability check
1 parent 09b8aad commit 2459e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/layouts/_partials/components/guide/render-guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- $isComingSoon := and .Date (lt now .Date) (eq hugo.Environment "production") }}
2-
{{- $contentAvailable := and .Page.Content (gt (len .Page.Content) 500) (not .Params.contentDraft) }}
2+
{{- $contentAvailable := and .Page.Content (gt (len .Page.Content) 500) (not .Params.translationDraft) }}
33
<section class="my-2" style="max-width: 1200px; margin: 0 auto;">
44
<div class="row">
55
<!-- Sidebar with table of contents -->

0 commit comments

Comments
 (0)