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

Template for Google Analytics does not exist. #2

Closed
hinderaker opened this issue Jun 14, 2016 · 5 comments
Closed

Template for Google Analytics does not exist. #2

hinderaker opened this issue Jun 14, 2016 · 5 comments

Comments

@hinderaker
Copy link

Line 81 in /themes/hugo-identity-theme/layouts/index.html reads as follows;
{{ template "_internal/google_analytics.html" . }}

That item does not exist and therefor Google Analytics is not working as intended despite the insertion of UA-key in config.

@aerohub
Copy link
Owner

aerohub commented Jun 14, 2016

Hi, @hinderaker ! That template is prebuilt internal part of Hugo package. Here is what I mean. What version of Hugo do you use?

@hinderaker
Copy link
Author

I didn't know that, thanks :)

Hugo 0.15 according to the Docker image publysher/hugo.

@aerohub
Copy link
Owner

aerohub commented Jun 18, 2016

Serve your identity page with Hugo and look at its source code. Is there GA code?

@hinderaker
Copy link
Author

hinderaker commented Jun 18, 2016

There is indeed. So problem is not related to your theme.

@aerohub
Copy link
Owner

aerohub commented Jun 18, 2016

OK, welcome :)

@aerohub aerohub closed this as completed Jun 18, 2016
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