Skip to content

Bug fix: allow local builds without requiring client directory #243

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

liorsve
Copy link
Contributor

@liorsve liorsve commented Apr 22, 2025

Description

Currently building the zola site locally is not possible when the clients directory is not built, as the zola serve command fails.
This is fixed by introducing an additional boolean variable clients_built in the client's page frontmatter, which is set to false by default, but updates to be true when running the init_topics_and_clients.sh script successfully. The page loads only if this var is set to true, otherwise a "Clients page not found" message is displayed, similar to the behavior in the commands and topics documentation.

Issues Resolved

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

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 this pull request may close these issues.

1 participant