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

Not all config settings included in website build #106

Open
Allen616 opened this Issue May 14, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@Allen616

Allen616 commented May 14, 2018

My Google Analytics info provided in my config file is not included in my local or deployed build. I have checked your instructions and that on Hugo.io. It all appears to be consistent.

title = "Citizen Labs"
baseURL = "https://citizenlabs.org"
languageCode = "en-us"
theme = "ananke"
publishDir = "public"
MetaDataFormat = "yaml"
DefaultContentLanguage = "en"
Paginate = 3
googleAnalytics = "UA-115392197-1"
enableRobotsTXT = true

Should MetaDataFormat = "toml" instead?

Other things like description and keywords are also not included in the builds but other things are.

Thanks

@Allen616

This comment has been minimized.

Show comment
Hide comment
@Allen616

Allen616 commented May 14, 2018

Here is a link to our Repo: https://github.com/citizenlabsgr/homepage

@Allen616

This comment has been minimized.

Show comment
Hide comment
@Allen616

Allen616 May 14, 2018

Or could it be that there is a typo in baseof.html ?

Pls, see. gohugoio/hugo@06e90b1

Allen616 commented May 14, 2018

Or could it be that there is a typo in baseof.html ?

Pls, see. gohugoio/hugo@06e90b1

@budparr

This comment has been minimized.

Show comment
Hide comment
@budparr

budparr May 14, 2018

Owner

Hi @Allen616 To see the Google Analytics, you need to run your site in production mode. Add this: HUGO_ENV=production before your build command. I'll add that to the Readme.

Let me know if that works. And if you want to give me some specifics about the other things you are missing, you can post them here.

Owner

budparr commented May 14, 2018

Hi @Allen616 To see the Google Analytics, you need to run your site in production mode. Add this: HUGO_ENV=production before your build command. I'll add that to the Readme.

Let me know if that works. And if you want to give me some specifics about the other things you are missing, you can post them here.

budparr added a commit that referenced this issue May 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment