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 issue in Azure DevOps with latest (0.63.1) Hugo executable #6802

Closed
theperiscope opened this issue Jan 25, 2020 · 5 comments
Closed

Build issue in Azure DevOps with latest (0.63.1) Hugo executable #6802

theperiscope opened this issue Jan 25, 2020 · 5 comments

Comments

@theperiscope
Copy link

What version of Hugo are you using (hugo version)?

$ hugo version
0.63.1

Does this issue reproduce with the latest release?

Yes

I use Azure Pipelines to deploy site automatically after each commit using latest version of Hugo (Windows 2019 environment). I noticed the tags and categories pages did not render any more - I checked and noticed new 0.63.1 version was in use, versus the 0.62.2 I use locally. I reverted the pipeline to 0.62.2 and that fixed problem, indicating an issue with 0.63.1.

In the attached screenshot you can see the difference in results after 24 hours (1/23 vs. 1/24).

2020-01-25_143740

@bep
Copy link
Member

bep commented Jan 26, 2020

Thanks for the report, but as we have tested this to work, it must be something "special" with your site. And that is not possible to debug without seeing the source. Could you provide a link to the site's source?

@bep bep added this to the v0.63.2 milestone Jan 26, 2020
@theperiscope
Copy link
Author

theperiscope commented Jan 27, 2020 via email

@bep bep modified the milestones: v0.63.2, v0.63.3 Jan 28, 2020
@theperiscope
Copy link
Author

@bep I found the issue by trial and error - the taxonomies templates I use (e.g. /categories/list.html) have a Hugo comment outside the define. From reading the docs I knew HTML comments can be a troublemaker but did not know about Hugo comments. Removing the Hugo comment made everything build correctly with 0.63.2.

{{/* List of all categories. */}} {{ define "main" }}
<p>...</p>
{{ end }}

@bep bep added the Duplicate label Jan 28, 2020
@bep
Copy link
Member

bep commented Jan 28, 2020

See #6816

@bep bep closed this as completed Jan 28, 2020
@github-actions
Copy link

github-actions bot commented Feb 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants