Serve and setup the mediagoblin "linked theme" assets directory
This commit is contained in:
parent
9a422c1fd0
commit
71eb457748
@ -63,6 +63,7 @@ geolocation_map_visible = boolean(default=False)
|
|||||||
# Theming stuff
|
# Theming stuff
|
||||||
theme_install_dir = string(default="%(here)s/user_dev/themes/")
|
theme_install_dir = string(default="%(here)s/user_dev/themes/")
|
||||||
theme_web_path = string(default="/theme_static/")
|
theme_web_path = string(default="/theme_static/")
|
||||||
|
theme_linked_assets_dir = string(default="%(here)s/theme_static/")
|
||||||
theme = string()
|
theme = string()
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ use = egg:Paste#urlmap
|
|||||||
/ = mediagoblin
|
/ = mediagoblin
|
||||||
/mgoblin_media/ = publicstore_serve
|
/mgoblin_media/ = publicstore_serve
|
||||||
/mgoblin_static/ = mediagoblin_static
|
/mgoblin_static/ = mediagoblin_static
|
||||||
|
/theme_static/ = theme_static
|
||||||
|
|
||||||
[app:mediagoblin]
|
[app:mediagoblin]
|
||||||
use = egg:mediagoblin#app
|
use = egg:mediagoblin#app
|
||||||
@ -51,6 +52,11 @@ use = egg:Paste#static
|
|||||||
document_root = %(here)s/mediagoblin/static/
|
document_root = %(here)s/mediagoblin/static/
|
||||||
cache_max_age = 86400
|
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]
|
[filter:beaker]
|
||||||
use = egg:Beaker#beaker_session
|
use = egg:Beaker#beaker_session
|
||||||
cache_dir = %(here)s/user_dev/beaker
|
cache_dir = %(here)s/user_dev/beaker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user