{
- "directory" : "app/static/vendors"
+ "directory" : "app/themes/base/static/vendors"
}
# STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL.strip("/"))
STATIC_ROOT = '/srv/static/'
-STATICFILES_DIRS = [
- '/srv/app/static',
-]
-
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
################
INSTALLED_APPS = [
+ "themes.base",
+ "themes.starts_eu",
+ 'themes.vertigo_starts_eu',
+
"modeltranslation",
"dal",
"dal_select2",
TEMPLATES = [{'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
- 'DIRS': ('/srv/app/templates',),
'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'],
'context_processors': ('django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
TEMPLATES[0]['OPTIONS']['loaders'] = TEMPLATE_LOADERS_OPTIONS
TEMPLATES[0]['APP_DIRS'] = False
+HOST_THEMES = [
+ ('starts.eu', 'starts_eu'),
+ ('vertigo.starts.eu', 'vertigo_starts_eu'),
+ ('vertigo.ircam.fr', 'base'),
+]
+
# List of middleware classes to use. Order is important; in the request phase,
# these middleware classes will be applied in the order given, and in the
# response phase the middleware will be applied in reverse order.
+++ /dev/null
-{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
-
-<div class="section container">
- <div class="row">
- <div class="col-sm-8 tac">
- <div class="section-title section-title--uppercase section-title--underline section-title--accent">
- {% trans "Instagram feed" %} <a class="fcw" href="https://www.instagram.com/explore/tags/ircam/" target="_blank">#ircam</a>
- </div>
- <div>
- {% include "includes/instagram.html" %}
- </div>
- </div>
- <div class="col-sm-6 col-sm-push-1 tac">
- <div class="section-title section-title--uppercase section-title--underline section-title--main">
- {% trans "Twitter feed" %}
- </div>
- <div>
- {% include "twitter/tweets.html" %}
- </div>
- </div>
- </div>
-</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="section container">
+ <div class="row">
+ <div class="col-sm-8 tac">
+ <div class="section-title section-title--uppercase section-title--underline section-title--accent">
+ {% trans "Instagram feed" %} <a class="fcw" href="https://www.instagram.com/explore/tags/ircam/" target="_blank">#ircam</a>
+ </div>
+ <div>
+ {% include "includes/instagram.html" %}
+ </div>
+ </div>
+ <div class="col-sm-6 col-sm-push-1 tac">
+ <div class="section-title section-title--uppercase section-title--underline section-title--main">
+ {% trans "Twitter feed" %}
+ </div>
+ <div>
+ {% include "twitter/tweets.html" %}
+ </div>
+ </div>
+ </div>
+</div>
browserify = require('gulp-browserify'),
sourcemaps = require('gulp-sourcemaps');
-var srcFolder = 'app/static/src/',
- destFolder = 'app/static/'
+var srcFolder = 'app/themes/base/static/src/',
+ destFolder = 'app/themes/base/static/'
gulp.task('copy-assets-img', function() {
gulp.src([srcFolder + 'assets/img/**/*'])
-Subproject commit a072d9a6af89c14150df71544df53b7f77cf3bc8
+Subproject commit 677c2faeb8b46a52846d6663c7f4c1a3d9509e18
-Subproject commit e35bbe738e298a0fe37160f2c46cf16d42265ccb
+Subproject commit 78283cae2019601d70fb3cf55e626225f03435cd