Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add template var {{.alias}} for doc #1675

Closed
zhangzz66 opened this issue Feb 25, 2021 · 3 comments
Closed

Add template var {{.alias}} for doc #1675

zhangzz66 opened this issue Feb 25, 2021 · 3 comments
Assignees
Milestone

Comments

@zhangzz66
Copy link

In what scenarios do you need this function?

When querying the content block that contains the current document alias

Describe the optimal solution

Describe the candidate solution

Other information

@88250 88250 self-assigned this Feb 25, 2021
@88250 88250 added this to the 1.0.6 milestone Feb 25, 2021
@88250
Copy link
Member

88250 commented Feb 25, 2021

By the way, also add the other two variables {{.name}} and {{.memo}}.

@zhangzz66
Copy link
Author

dynamic content block queries do not seem to support determining whether a variable is empty?

@88250
Copy link
Member

88250 commented Feb 25, 2021

Try xxx != '' in SQL.

@88250 88250 closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants