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

Update list.html #16

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

Update list.html #16

wants to merge 1 commit into from

Conversation

jamknox
Copy link

@jamknox jamknox commented Feb 12, 2024

Replaced .URL with .Permalink to fix the theme for newer versions of Hugo. With .URL, running hugo server -D returned error: Error: error building site: render: failed to render pages: render of "home" failed: "C:\Users\username\Hugo\myHugoSite\themes\ga-hugo-theme\layouts_default\list.html:14:31": execute of template failed: template: _default/list.html:14:31: executing "_default/list.html" at <.URL>: can't evaluate field URL in type page.Page

Replaced .URL with .Permalink to fix the theme for newer versions of Hugo. With .URL, running hugo server -D returned error: Error: error building site: render: failed to render pages: render of "home" failed: "C:\Users\username\Hugo\myHugoSite\themes\ga-hugo-theme\layouts\_default\list.html:14:31": execute of template failed: template: _default/list.html:14:31: executing "_default/list.html" at <.URL>: can't evaluate field URL in type page.Page
@corazoan
Copy link

thanks man it works

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.

2 participants