Replies: 2 comments 4 replies
-
I ended up switching to just hosting the Hugo built static site instead of trying to have cloudflare build it, but I was hoping to find out why this type of error would show on the cloudflare build but not on my local machine. Also, is there a better way to ask questions on this theme without posting a bug report? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Thanks Ivan! If you don't mind, I have a theme related question and I
honestly have not looked at the discussion forum further to see if there's
an answer to this, but I am having an issue with removing the languages
selector completely (I only speak english).
TLDR; Is there a really quick and easy way to just turn off the additional
languages feature?
I can remove the icon, but you can still mouse over that area and show a
language. If I remove the reference to the other language, the menu still
pops up with a blank area and you can still select the other language. If
I remove all of the posts with the language, I get an error.
…On Wed, Jul 27, 2022 at 6:52 PM Ivan Boothe ***@***.***> wrote:
I'm not sure how it works on Cloudflare, but for instance on GitHub Pages what
they recommend
<https://gohugo.io/hosting-and-deployment/hosting-on-github/> is having
it in the same repo but then having it "publish" to a dedicated branch.
(But of course if you want your source private then the way you have it
setup would be the way to go.)
I assume you've looked at this guide on Hugo and Cloudflare
<https://gohugo.io/hosting-and-deployment/hosting-on-cloudflare-pages/>.
You might also ask on the Hugo discussion forums
<https://discourse.gohugo.io/>. I realize this is a question about the
theme, but they might be able to suggest how to get more debugging info so
we could figure out why that function isn't being executed properly in that
environment.
—
Reply to this email directly, view it on GitHub
<#357 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2GJPYYUO5AJU52UH534J3DVWG4RBANCNFSM5426ZNTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have checked all the prerequisites below and I'm yet experiencing a problem
Describe the bug
Trying to build cloudflare pages with this theme as a sub-module sourced at https://github.com/sazstuff/sazstuff.com and the application build is throwing this error after executing command hugo:
Error: "/opt/buildhome/repo/themes/hugo-clarity/layouts/partials/func/getCodeBlockSettings.html:25:1": parse failed: template: partials/func/getCodeBlockSettings.html:25: function "return" not defined
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions