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

How to run it on Cloudflare Pages? #742

Closed
arihid opened this issue Mar 16, 2023 · 2 comments
Closed

How to run it on Cloudflare Pages? #742

arihid opened this issue Mar 16, 2023 · 2 comments

Comments

@arihid
Copy link

arihid commented Mar 16, 2023

Question

How do I deploy this in Cloudflare Pages?

@hossainemruz
Copy link
Member

Don't have any official guideline yet. You may check this comment: hugo-toha/hugo-toha.github.io#1 (comment)

@arihid
Copy link
Author

arihid commented Mar 17, 2023

I have built a working local site, using data from the example site repo.
When I deploy the site to Cloudflare Pages, I got this error:

Error: Error building site: "/opt/buildhome/repo/content/posts/category/sub-category/rich-content/index.md:24:5": failed to extract shortcode: template for shortcode "img" not found

Edit: just found out that Cloudflare Pages is using Hugo v0.54. Adding HUGO_VERSION to the environment variable did the trick.

@arihid arihid closed this as completed Mar 17, 2023
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