gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.76k stars 7.53k forks source link

Book type fails in 0.123.0 #12070

Closed AliceNN-ucdenver closed 8 months ago

AliceNN-ucdenver commented 8 months ago

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

$ hugo version
hugo version: 0.123.0

Does this issue reproduce with the latest release?

The book type no longer builds when I compare the cache files in 0.123.0 there is just a book.md and no folder as in the 0.122.0 version

ERROR render of "page" failed: "/Users/#/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403": execute of template failed: template: book/single.html:11:403: executing "book/single.html" at <.File.UniqueID>: can't evaluate field File in type source.File ERROR render of "home" failed: "/Users/#/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403": execute of template failed: template: index.html:11:403: executing "index.html" at <.File.UniqueID>: can't evaluate field File in type source.File Total in 303 ms Error: error building site: render: failed to render pages: render of "section" failed: "/Users/#/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403": execute of template failed: template: book/list.html:11:403: executing "book/list.html" at <.File.UniqueID>: can't evaluate field File in type *source.File

Using a very simple book layout based on the documentation:

---
title: 🧠 Learn Generative Deep Learning
linkTitle: Generative DL
summary: CSCI 4800 Generative Deep Learning
date: '2021-01-17'
type: book
tags:
  - current
---

{{< figure src="featured.jpg" >}}

{{< toc hide_on="xl" >}}

# CSCI 4800: Generative Deep Learning
## Course Syllabus
### Fall, 2024
jmooring commented 8 months ago

I hate to pass the buck, but...

You are more likely to receive an accurate and timely response from the Hugo Blox team: https://github.com/HugoBlox/hugo-blox-builder/discussions

They also have an active Discord channel: https://discord.com/invite/z8wNYzb

Wowchemy isn't a thing anymore. They rebranded to HugoBlox, and I have no idea how I would track down the source. For their new stuff they list Hugo version compatibility; you might ask them about compatibility.

AliceNN-ucdenver commented 8 months ago

Found this for anyone else that runs into this: https://docs.hugoblox.com/reference/update/ https://discord.com/channels/722225264733716590/1175124420315058176/1175161625179852982

github-actions[bot] commented 8 months ago

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.