Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
General config stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalsh committed Oct 25, 2014
1 parent 8bf616b commit 4b4a221
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bowerrc
@@ -1,3 +1,3 @@
{
"directory": "themes/okfn/static/js/vendor"
"directory": "bower_components"
}
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -8,8 +8,9 @@
cache/
output/
sandbox/*
# data processing stuff
tmp/*
bower_components/*
/cli/build
/cli/dist
/cli/*.egg-info
# data processing stuff
tmp/*
6 changes: 5 additions & 1 deletion bower.json
Expand Up @@ -15,6 +15,10 @@
"tests"
],
"dependencies": {
"chroma-js": "~0.5.8"
"jquery": "1.11.1",
"leaflet": "0.7.3",
"chroma-js": "0.6.1",
"pubsub-js": "1.5.0",
"lodash": "2.4.1"
}
}
9 changes: 8 additions & 1 deletion pelicanconf.py
Expand Up @@ -13,6 +13,8 @@

import filters

LOAD_CONTENT_CACHE = False
AUTORELOAD_IGNORE_CACHE = True

AUTHOR = u'Open Knowledge'
SITENAME = u'Open Data Index'
Expand Down Expand Up @@ -58,7 +60,7 @@
PLUGIN_PATHS = [os.path.join(PROJECT_ROOT, 'plugins')]
PLUGINS = ['datastore', 'datastore_api', 'datastore_assets']

THEME = os.path.join(PROJECT_ROOT, 'themes', 'okfn')
THEME = os.path.join(PROJECT_ROOT, 'themes', 'odi')
THEME_STATIC_DIR = 'static'
THEME_STATIC_PATH = os.path.join(THEME, THEME_STATIC_DIR)

Expand Down Expand Up @@ -102,9 +104,14 @@
# OPEN DATA INDEX SETTINGS
ODI = {
'survey': {
'name': u'Open Data Index Survey',
'domain': u'http://global.census.okfn.org/',
'submit_route': u'submit/'
},
'sponsor': {
'name': u'Open Knowledge',
'domain': u'https://okfn.org/',
},
'years': [u'2014', u'2013'],
'current_year': u'2014',
'na': u'n/a',
Expand Down

0 comments on commit 4b4a221

Please sign in to comment.