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

Build fails when contributors not present #107

Open
h-enk opened this issue Sep 7, 2024 · 0 comments
Open

Build fails when contributors not present #107

h-enk opened this issue Sep 7, 2024 · 0 comments

Comments

@h-enk
Copy link
Member

h-enk commented Sep 7, 2024

Description

Describe the issue that you're seeing.

Build fails, when contributors: [] is not present in the frontmatter of blog pages.

Update layouts/partials/main/blog-meta.html (line 1) to allow for absence of contributors: []:

{{ $last := sub (len .Params.contributors) 1 -}}

Steps to reproduce

Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).

thuliteio/doks#1279

Expected result

What should happen?

Actual result

What happened.

Environment

Paste the information here as shown by npm run info

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