jekyllt / jasper2

Full-featured Jekyll port of Ghost's default theme Casper v2 👻
https://jekyllt.github.io/jasper2/
MIT License
763 stars 659 forks source link

I can't find the location to add the javascript code for google analytics #111

Closed bluebamus closed 3 years ago

bluebamus commented 4 years ago

Generally When we use google analytics service, It require identifier id and javascript code. but In this solution, I can't find how I can add javascript in any place. even I can't find it at _site folder too. So I want to ask you. Is this google analytics working as well?

safe: False lsi: False username: devspoons repo: devspoons.github.io branch: master relative_source: ../jasper2/ destination: _site/ production_url: https://devspoons.github.io source_url: https://github.com/devspoons/devspoons.github.io

How can I understand each lines related process? If you have manual for this, let's me know please.

and "exclude:" this line also, I want to understand. is it ignored when it do building jekyll?

biomadeira commented 3 years ago

@bluebamus You can read more about the jekyll configuration here: https://jekyllrb.com/docs/configuration/options/ Regarding the google analytics, you can modify the id here: https://github.com/jekyller/jasper2/blob/master/_config.yml#L33