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

feat(scripts): only enable google analytics in production environment #260

Merged
merged 1 commit into from
May 12, 2020

Conversation

panda-z
Copy link
Contributor

@panda-z panda-z commented May 6, 2020

Should set env to production, e.g.: hugo serve -e production

Default environments are development with hugo serve and production with hugo.

Closes #259

Should set env to production, e.g.: `hugo serve -e production`

Default environments are **development** with `hugo serve` and **production** with `hugo`.
@olOwOlo
Copy link
Owner

olOwOlo commented May 12, 2020

Thank your for your pull request.

@olOwOlo olOwOlo merged commit f6a183a into olOwOlo:master May 12, 2020
@panda-z panda-z deleted the issue-259 branch May 13, 2020 09:17
bwangelme pushed a commit to bwangelme/hugo-theme-even that referenced this pull request Aug 22, 2020
…olOwOlo#260)

Should set env to production, e.g.: `hugo serve -e production`

Default environments are **development** with `hugo serve` and **production** with `hugo`.
daymade pushed a commit to daymade/hugo-theme-even that referenced this pull request Sep 30, 2023
…olOwOlo#260)

Should set env to production, e.g.: `hugo serve -e production`

Default environments are **development** with `hugo serve` and **production** with `hugo`.
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.

google_analytics doesn't work correctly
2 participants