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 minimum Hugo version in README #25

Merged
merged 1 commit into from Aug 2, 2020
Merged

Conversation

apraditya
Copy link
Contributor

I'm trying to make this wonderful theme as my base for my site revamp and I was using Hugo v0.64.1. I am not aware of the current Hugo version and its features so I was surprised with the following error when I'm running the example site hugo server --themesDir ../.. on the exampleSite folder:

Building sites … ERROR 2020/07/31 20:30:10 render of "page" failed:
"/Users/apraditya/labs/hugo/devmuslimid/themes/zen/layouts/_default/baseof.html:2:65":
execute of template failed: template: _default/single.html:2:65: executing
"_default/single.html" at <.Site.Language.LanguageDirection>: can't evaluate field
LanguageDirection in type *langs.Language

Looks fine on the template: _default/single.html:2:65. After some time, I found out that my Hugo version was older than this theme required. So I thought I'd update this in the README.

@frjo frjo merged commit b44fe67 into frjo:master Aug 2, 2020
@frjo
Copy link
Owner

frjo commented Aug 2, 2020

Thanks! It is mentioned in the Multilingual section of the README but better to set it as an minimum version,

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

2 participants