forked from kakawait/hugo-tranquilpeak-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kakawait#23 from kakawait/enhancement/migrate-ga-t…
…o-analytics Migrate old GA script to new
- Loading branch information
Showing
8 changed files
with
108 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## [0.1.1-ALPHA] 13 nov 2016 | ||
|
||
- Upgrade *Google Analytics* script to do not use anymore `ga.js` which is now deprecated (#21) | ||
- **[Breaking changes]** Changes *Google Analytics* config key from `params.google_analytics_id` to official `googleAnalytics` (#21) | ||
- Add parameter to choose between sync/async loading of *Google Analytics* `params.ga.async` (#21) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Migrations | ||
|
||
## 0.1.0-ALPHA to 0.1.1-ALPHA | ||
|
||
### Using migration script | ||
|
||
```bash | ||
./0_1_0_to_0_1_1 /path/to/config.toml | ||
``` | ||
|
||
Should works with `.toml`, `.yml` and `.json` | ||
|
||
### Manually | ||
|
||
Replace | ||
|
||
```toml | ||
[params] | ||
google_analytics_id = "UA-XXX-X" | ||
``` | ||
|
||
to (top level) | ||
|
||
```toml | ||
googleAnalytics = "UA-XXX-X" | ||
``` |