Skip to content

Commit ed1aaca

Browse files
authored
Merge pull request alshedivat#8 from Mayankm96/master
Minor changes to improve integration
2 parents 02fcb9d + 0562ac3 commit ed1aaca

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Using `master` for deployment is a convention for [user and organization pages](
4141
**Note:** when deploying your user or organization page, make the `_config.yml` has `url` and `baseurl` fields as follows.
4242

4343
```
44-
url: <your-username>.github.io
44+
url: # should be empty
4545
baseurl: # should be empty
4646
```
4747

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ scholar_authorid: # put your google scholar author id
2424
contact_note: >
2525
You can even add a little note about which of these is the best way to reach you.
2626
27+
google_analytics: UA-XXXXXXXXX # out your google-analytics code
28+
2729
# -----------------------------------------------------------------------------
2830
# Blog
2931
# -----------------------------------------------------------------------------

_includes/hemline.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
3232
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
3333

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

0 commit comments

Comments
 (0)