summaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorSelwin Ong <selwin.ong@gmail.com>2018-03-03 07:21:44 +0700
committerSelwin Ong <selwin.ong@gmail.com>2018-03-03 07:21:44 +0700
commit28bbeca66aa2dd24f0ff6270c086bad55efe0fde (patch)
tree818d81cac131d4bd1008a9f1fffe7cc8e37ed028 /docs/_includes
parenta6eb5d37eea6bf0de64e0c28723be5985f1684b4 (diff)
downloadrq-28bbeca66aa2dd24f0ff6270c086bad55efe0fde.tar.gz
Add docs folder.
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/forward.html6
-rw-r--r--docs/_includes/ga_tracking.html13
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/_includes/forward.html b/docs/_includes/forward.html
new file mode 100644
index 0000000..9c8cdd6
--- /dev/null
+++ b/docs/_includes/forward.html
@@ -0,0 +1,6 @@
+<script type="text/javascript">
+ // Auto-forward for incoming links on nvie.com
+ if ("nvie.com" === document.location.hostname) {
+ document.location = 'http://python-rq.org';
+ }
+</script>
diff --git a/docs/_includes/ga_tracking.html b/docs/_includes/ga_tracking.html
new file mode 100644
index 0000000..b260b88
--- /dev/null
+++ b/docs/_includes/ga_tracking.html
@@ -0,0 +1,13 @@
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-27167945-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>