Merge pull request #8 from Mayankm96/master

Minor changes to improve integration
This commit is contained in:
Maruan 2017-11-06 12:58:17 -05:00 committed by GitHub
commit ed1aaca87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Using `master` for deployment is a convention for [user and organization pages](
**Note:** when deploying your user or organization page, make the `_config.yml` has `url` and `baseurl` fields as follows. **Note:** when deploying your user or organization page, make the `_config.yml` has `url` and `baseurl` fields as follows.
``` ```
url: <your-username>.github.io url: # should be empty
baseurl: # should be empty baseurl: # should be empty
``` ```

View File

@ -24,6 +24,8 @@ scholar_authorid: # put your google scholar author id
contact_note: > contact_note: >
You can even add a little note about which of these is the best way to reach you. You can even add a little note about which of these is the best way to reach you.
google_analytics: UA-XXXXXXXXX # out your google-analytics code
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Blog # Blog
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

View File

@ -31,6 +31,6 @@
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXXXX-X', 'auto'); ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>