aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-07-06 17:59:30 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-07-14 12:55:14 -0500
commit71eb4577485cc3130952f1f831960b87980ed400 (patch)
treec94978df1e08b9cad821de26208aa0d78394635b
parent9a422c1fd0ece59bd38900777d31abf6e11126fa (diff)
downloadmediagoblin-71eb4577485cc3130952f1f831960b87980ed400.tar.lz
mediagoblin-71eb4577485cc3130952f1f831960b87980ed400.tar.xz
mediagoblin-71eb4577485cc3130952f1f831960b87980ed400.zip
Serve and setup the mediagoblin "linked theme" assets directory
-rw-r--r--mediagoblin/config_spec.ini1
-rw-r--r--paste.ini6
2 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/config_spec.ini b/mediagoblin/config_spec.ini
index 03243e0b..585aaacf 100644
--- a/mediagoblin/config_spec.ini
+++ b/mediagoblin/config_spec.ini
@@ -63,6 +63,7 @@ geolocation_map_visible = boolean(default=False)
# Theming stuff
theme_install_dir = string(default="%(here)s/user_dev/themes/")
theme_web_path = string(default="/theme_static/")
+theme_linked_assets_dir = string(default="%(here)s/theme_static/")
theme = string()
diff --git a/paste.ini b/paste.ini
index 13c15209..103bb609 100644
--- a/paste.ini
+++ b/paste.ini
@@ -13,6 +13,7 @@ use = egg:Paste#urlmap
/ = mediagoblin
/mgoblin_media/ = publicstore_serve
/mgoblin_static/ = mediagoblin_static
+/theme_static/ = theme_static
[app:mediagoblin]
use = egg:mediagoblin#app
@@ -51,6 +52,11 @@ use = egg:Paste#static
document_root = %(here)s/mediagoblin/static/
cache_max_age = 86400
+[app:theme_static]
+use = egg:Paste#static
+document_root = %(here)s/user_dev/theme_static/
+cache_max_age = 86400
+
[filter:beaker]
use = egg:Beaker#beaker_session
cache_dir = %(here)s/user_dev/beaker