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

レポートページへのリンクを表示するかどうかを判断する処理を修正する #1431

Open
nagutabby opened this issue Mar 29, 2024 · 1 comment
Assignees

Comments

@nagutabby
Copy link
Member

nagutabby commented Mar 29, 2024

概要

  • 現在は、is_event_open_or_closedの値がclosedで、report.mdが存在するときにレポートページへのリンクを表示している
  • しかし、これではreport.mdのpublishedフロントマターの値がfalseであってもレポートページへのリンクが表示されてしまう
  • そのため、is_event_open_or_closedの値がclosedで、report.mdが存在していて、report.mdのpublishedフロントマターの値がtrueのときにレポートページへのリンクを表示するようにする
@nagutabby
Copy link
Member Author

nagutabby commented Mar 29, 2024

現在存在するreport.mdのpublishedフロントマターの値は全てtrueなので、運用方法が今後変わらなければ現在の処理のままでも問題ないのですが、今後もこれまでと同じ方法で運用されていくとは言い切れないのでトラブルが起きない内に修正したいです

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant