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

Add support for GTM environments and minor refactoring #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

henkisdabro
Copy link

Instead of simply filing an issue in your repo, I decided to get my hands dirty and see whether I could contribute directly instead. :-)

I restructured the repo so that it in the future could be merged directly into a Hugo project, perhaps even as a git submodule, but let me know any concerns around this.

I've tested the solution via localhost Hugo server as well as on Cloudflare Pages automatic deployments (production and preview branches), using environment variables that I set on the cloudflare dashboard: HUGO_ENVIRONMENT set to either production or development respectively.

Looking forward to your input on the additions. Again, thanks for the excellent work on both the blog post and this repo!

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.

1 participant