If your GitHub Enterprise Pages code contains a Liquid output tag that is not properly terminated, your GitHub Enterprise Pages site will not be built.
If your GitHub Enterprise Pages site fails to build because of an improperly terminated Liquid output tag, you'll get an email with this message:
Subject: Page build failed
The page build failed with the following error:
The variable `{{ EXAMPLE_VARIABLE }` was not properly closed with `}}\
You will only receive an email if email support is enabled on your Enterprise instance. For more information, contact your site administrator.
Troubleshooting improperly terminated tag errors
We strongly recommend running Jekyll locally so you can easily debug and fix build errors before pushing to your GitHub Enterprise instance.
- Check the Liquid tags in the file referenced in the build failure email. All output tags must be terminated with
}}
.
Example
{{ page.title }}
is properly opened and closed with double curly brackets.
Once you've fixed any improperly terminated tags, you will need to commit your changes and push to your GitHub Enterprise Pages repository again to trigger another build on the server.