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

Use .Path instead of .File.Path when surrounded by with .File block #1426

Merged
merged 1 commit into from
May 17, 2024

Conversation

mjankowski
Copy link
Contributor

When I was working on #1425 I was getting errors from this line.

I am not a hugo expert and genuinely have no idea what I'm doing here, however I found that with huge latest version (0.124.1) installed locally the error was solved by this change. I note that the build script here is specifically using an older version ... where presumably this error doesn't occur?

Copy link
Member

@trwnh trwnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@renchap
Copy link
Sponsor Member

renchap commented May 3, 2024

Makes sense to merge this, but I think we will need to bump the Hugo version at the same time?

@mjankowski
Copy link
Contributor Author

Makes sense to merge this, but I think we will need to bump the Hugo version at the same time?

I'm not actually sure -- there are other places in other templates which are already doing what this change does, which makes me think it works on current version?

@renchap renchap merged commit fe1fd3f into mastodon:main May 17, 2024
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.

None yet

3 participants