diff --git a/content/download/index.html b/content/download/index.html
index dac2474..ca0a738 100644
--- a/content/download/index.html
+++ b/content/download/index.html
@@ -90,7 +90,7 @@
$("#gzipped") .html(bytes_to_kb(size * 0.322) + ' gzipped');
// build choice
- var build = $('input[name="build"]').filter(':checked').val() || 'v1.2.6';
+ var build = $('input[name="build"]').filter(':checked').val() || 'v{{ jqt.v }}';
// download link
$("#downloadLink").attr(
@@ -206,7 +206,7 @@
Version
|
|
@@ -237,7 +237,7 @@ Include jQuery
|
diff --git a/content/media/css/include/sidebar.styl b/content/media/css/include/sidebar.styl
index b7dfd10..7b0f1b8 100644
--- a/content/media/css/include/sidebar.styl
+++ b/content/media/css/include/sidebar.styl
@@ -15,6 +15,14 @@
box-shadow 0px 0px 4px 4px rgba(petrol, 0.3)
+.max_cdn
+ margin-top 32px
+
+ img
+ margin-top 12px
+ text-align center
+ width 200px
+ height 33px
nav
diff --git a/content/media/css/style.styl b/content/media/css/style.styl
index 4442cfc..7abbc6d 100644
--- a/content/media/css/style.styl
+++ b/content/media/css/style.styl
@@ -54,7 +54,7 @@ p
#right
float right
- width 24%
+ width 25%
#wrap, #top-wrap, #bottom-wrap
clearfix()
diff --git a/content/media/img/MaxCDN-Black-200x33.png b/content/media/img/MaxCDN-Black-200x33.png
new file mode 100644
index 0000000..5c7fdfa
Binary files /dev/null and b/content/media/img/MaxCDN-Black-200x33.png differ
diff --git a/dev.yaml b/dev.yaml
deleted file mode 100644
index 3f07336..0000000
--- a/dev.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-extends: site.yaml
-mode: development
-base_url: /
-site_root: dev26.jquerytools.org
-site_url: http://dev26.jquerytools.org
-fpsite: http://dev26.flowplayer.org/
-stylus:
- app: %STYLUS_PATH
-uglify:
- app: %UGLIFY_PATH
\ No newline at end of file
diff --git a/layout/root.j2 b/layout/root.j2
index 19cb1d1..463d040 100644
--- a/layout/root.j2
+++ b/layout/root.j2
@@ -124,6 +124,12 @@
+
+
Our CDN sponsor
+
+
+
+
{% endblock %}
@@ -137,6 +143,8 @@
/website
|
report a bug
+ |
+ Accelerated by MaxCDN
diff --git a/package.json b/package.json
index a706a1a..489e295 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
"node": "~v0.4.11"
},
"dependencies": {
- "uglify-js": ">= 1.1.1"
+ "uglify-js": ">= 1.1.1",
+ "stylus": ">= 0.32"
},
"devDependencies": {}
}
diff --git a/prod.yaml b/prod.yaml
index dd43006..ca59d48 100644
--- a/prod.yaml
+++ b/prod.yaml
@@ -4,9 +4,10 @@ base_url: /
site_root: jquerytools.org
site_url: http://jquerytools.org
fpsite: http://flowplayer.org/
-stylus:
- app: %STYLUS_PATH
-uglify:
- app: %UGLIFY_PATH
analytics:
- id: UA-5877901-1 #Google Analytics Tracking ID
\ No newline at end of file
+ id: UA-5877901-1 #Google Analytics Tracking ID
+publisher:
+ default:
+ type: hyde.ext.publishers.pyfs.PyFS
+ url: s3://jquerytools.org
+ check_etag: md5
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index 4e1aa63..247fea4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
+pyquery
pygments
+fs
+boto
+-e git://github.com/hyde/typogrify.git#egg=typogrify-hyde
-e git://github.com/hyde/Python-Markdown.git#egg=Python-Markdown
--e git://github.com/hyde/hyde.git#egg=hyde
-argparse
--e git://github.com/hyde/typogrify.git#egg=typogrify
--e git://github.com/mitsuhiko/jinja2.git#egg=jinja2
-pyquery
\ No newline at end of file
+-e git://github.com/hyde/hyde.git#egg=hyde
\ No newline at end of file
diff --git a/site.yaml b/site.yaml
index 496ba44..67e81e1 100644
--- a/site.yaml
+++ b/site.yaml
@@ -44,7 +44,7 @@ meta:
user interface library, web 2.0 ui library
author: Tero Piirainen
stylus:
- app: /usr/local/bin/stylus
+ app: ./node_modules/stylus/bin/stylus
sorter:
index:
attr:
diff --git a/stage.yaml b/stage.yaml
index 2e0c73d..3579a0f 100644
--- a/stage.yaml
+++ b/stage.yaml
@@ -3,8 +3,4 @@ mode: production
base_url: /
site_root: stage.jquerytools.org
site_url: http://stage.jquerytools.org
-fpsite: http://stage.flowplayer.org/
-stylus:
- app: %STYLUS_PATH
-uglify:
- app: %UGLIFY_PATH
\ No newline at end of file
+fpsite: http://stage.flowplayer.org/
\ No newline at end of file