Skip to content

Commit

Permalink
Merge pull request barryclark#8 from Mayankm96/master
Browse files Browse the repository at this point in the history
Minor changes to improve integration
  • Loading branch information
alshedivat authored Nov 6, 2017
2 parents 02fcb9d + 0562ac3 commit ed1aaca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

```
url: <your-username>.github.io
url: # should be empty
baseurl: # should be empty
```

Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ scholar_authorid: # put your google scholar author id
contact_note: >
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
# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion _includes/hemline.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
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');

ga('create', 'UA-XXXXXXXX-X', 'auto');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>

0 comments on commit ed1aaca

Please sign in to comment.