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

Tools table filter to handle situations when tools data file exists but is empty #10

Open
anenadic opened this issue Dec 19, 2024 · 0 comments · May be fixed by #11
Open

Tools table filter to handle situations when tools data file exists but is empty #10

anenadic opened this issue Dec 19, 2024 · 0 comments · May be fixed by #11

Comments

@anenadic
Copy link

When tools_and_recource_list.yml data file exists but is empty in websites using the theme - the following error occurs.

Liquid Exception: undefined methodeach' for false:FalseClass in /Users/user/work/EVERSE/elixir-toolkit-theme/_layouts/page.html
------------------------------------------------
Jekyll 4.3.4 Please append --trace to the serve command
for any additional information or backtrace.
------------------------------------------------
/Users/user/work/EVERSE/elixir-toolkit-theme-plugins/lib/elixir-toolkit-theme-plugins/tool_table_filter.rb:10:in add_related_pages': undefined method each' for false:FalseClass (NoMethodError)
`

@anenadic anenadic linked a pull request Dec 19, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant