最近搜索


没有最近搜索

Acoustic's Avatar

Acoustic

已加入2022年2月08日

·

最后活动2022年2月08日

关注

0

关注者

0

活动总数

3

投票

1

订阅

1

活动概览

的最新活动 Acoustic

Acoustic 进行了评论,

评论Using themes and customizing your Help Center

As Art Costigan mentioned, is there a way to use permissions on a custom page? I want only users that are signed in to be able to access the custom page.

I tried adding a {{#if signed_in}} statement at the top of the page, but the function seems to always think that the user is not signed in.

Essentially I tried the following code for the page:

{{#if signed_in}}



Display some content on the screen.





{{else}}

Sign in to access product documentation and resources.



{{/if}}

My result was that the sign-in prompt was displayed whether a user was signed-in or not.

查看评论 · 已于 2022年2月08日 编辑 · Acoustic

0

关注者

1

投票

0

评论