Skip to content

Commit a84249c

Browse files
author
Tom Clark
committed
Use a ts query parameter so google analytics tracks pages correctly
1 parent 4bd0e1d commit a84249c

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ task :update_toc do
2626
end
2727
temp.puts "<!--- BEGIN TOC -->"
2828
pages.each_with_index do |page, index|
29-
temp.puts "* [#{page.data["title"]}](#{page.destination('')}?#{File.mtime(File.join(FileUtils.pwd, "pages", page.name)).to_i})"
29+
temp.puts "* [#{page.data["title"]}](#{page.destination('')}?ts=#{File.mtime(File.join(FileUtils.pwd, "pages", page.name)).to_i})"
3030
end
3131
temp.puts "<!--- END TOC -->"
3232
FileUtils.mv(temp.path, toc_path)

index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ This project originated as a full-blown rails app backed by a database, and I re
1717

1818
All Tutorials
1919
-------------
20-
You can [browse all tutorials here](/pages/table-of-contents.html?1340490172).
20+
You can [browse all tutorials here](/pages/table-of-contents.html?1340499018).
2121

2222
Newest Tutorials
2323
----------------
24-
* [Controlling EC2 from the Console](/pages/controlling-ec2-from-the-console.html?1340490172)
25-
* [Creating a Production Storm Cluster](/pages/creating-a-production-storm-cluster.html?1340487894)
26-
* [Retrieving Storm Cluster Statistics from Nimbus](/pages/retrieving-storm-data-from-nimbus.html?1340398351)
27-
* [Installing MySQL](/pages/installing-mysql.html?1339980010)
28-
* [Hello, World!](/pages/hello-world.html?1339978842)
24+
* [Controlling EC2 from the Console](/pages/controlling-ec2-from-the-console.html?ts=1340499018)
25+
* [Creating a Production Storm Cluster](/pages/creating-a-production-storm-cluster.html?ts=1340499018)
26+
* [Retrieving Storm Cluster Statistics from Nimbus](/pages/retrieving-storm-data-from-nimbus.html?ts=1340499018)
27+
* [Installing MySQL](/pages/installing-mysql.html?ts=1340499018)
28+
* [Hello, World!](/pages/hello-world.html?ts=1340499018)
2929

3030
Examples
3131
--------
32-
* [Installing MySQL](/pages/installing-mysql.html?1339980010)
33-
* [Hello, World!](/pages/hello-world.html?1339978842)
34-
* [Syntax explanation](/pages/explanation.html?1340248769)
32+
* [Installing MySQL](/pages/installing-mysql.html?ts=1340499018)
33+
* [Hello, World!](/pages/hello-world.html?ts=1340499018)
34+
* [Syntax explanation](/pages/explanation.html?1340499018)
3535

3636
Contributing
3737
------------

pages/table-of-contents.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ ignore: true
99
<!-- THIS FILE IS GENERATED; PLEASE DO NOT EDIT THIS FILE BY HAND -->
1010

1111
<!--- BEGIN TOC -->
12-
* [Controlling EC2 from the Console](/pages/controlling-ec2-from-the-console.html?1340492287)
13-
* [Creating a Production Storm Cluster](/pages/creating-a-production-storm-cluster.html?1340487894)
14-
* [Retrieving Storm Cluster Statistics from Nimbus](/pages/retrieving-storm-data-from-nimbus.html?1340398351)
15-
* [Installing MySQL](/pages/installing-mysql.html?1339980010)
16-
* [Hello, World!](/pages/hello-world.html?1339978842)
12+
* [Controlling EC2 from the Console](/pages/controlling-ec2-from-the-console.html?ts=1340499018)
13+
* [Creating a Production Storm Cluster](/pages/creating-a-production-storm-cluster.html?ts=1340499018)
14+
* [Retrieving Storm Cluster Statistics from Nimbus](/pages/retrieving-storm-data-from-nimbus.html?ts=1340499018)
15+
* [Installing MySQL](/pages/installing-mysql.html?ts=1340499018)
16+
* [Hello, World!](/pages/hello-world.html?ts=1340499018)
1717
<!--- END TOC -->

0 commit comments

Comments
 (0)