Skip to content

Commit e6ef655

Browse files
docs: Add table of contents to Tutorials (#8795)
1 parent d7d4467 commit e6ef655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/themes/v2/layout/page.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% const isEnterpriseTheme=theme.tier==="enterprise" %>
2-
<% const tocPageTypes = page.type === "guide" || page.type === "blog" || page.type === "templates" || page.type === "tags" || page.type === "plugins" %>
2+
<% const tocPageTypes = page.type === "guide" || page.type === "blog" || page.type === "templates" || page.type === "tags" || page.type === "plugins" || page.tutorial %>
33

44
<% const formattedContent=removeContent(page.content) %>
55
<% const tocContent=replaceContent(formattedContent) %>

0 commit comments

Comments
 (0)