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

Parse failed: template #29

Open
bithost opened this issue Feb 11, 2023 · 2 comments
Open

Parse failed: template #29

bithost opened this issue Feb 11, 2023 · 2 comments

Comments

@bithost
Copy link

bithost commented Feb 11, 2023

Hello,
I followed your instructions provided there:
https://digital-garden-hugo-theme.vercel.app/articles/installation/

but when i run npm run dev i get this error:

> digital-garden-theme@1.1.0 dev
> hugo serve

Error: add site dependencies: load resources: loading templates: "/home/tadas/hugo/intranet/themes/digitalgarden/layouts/_default/_markup/render-link.html:1:1": parse failed: template: _default/_markup/render-link.html:1: unclosed action

How could i solve this?

Thanks

@sanchpet
Copy link

+1, same problem

@sanchpet
Copy link

@bithost I was able to solve this problem by removing Hugo site, re-initializing hugo site and enabling this theme as git submodule. Also I run the site in Docker with https://github.com/floryn90/docker-hugo and everything parses good.

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

No branches or pull requests

2 participants