Merge branch 'master' of github.com:bornhack/bornhack-website

This commit is contained in:
Thomas Steen Rasmussen 2017-01-31 23:40:20 +01:00
commit bae4e78b3f
2 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@ or go through the manuel process below:
* Add a sponsers page, `{camp-slug}-sponsors.html`, to `sponsors/templates`.
* Add a frontpage, `{camp-slug}-camp_detail.html`, to `camps/templates`.
* Add a call for speakers page, `{camp-slug}-call_for_speakers.html`, to `program/templates`.
* Create `static/img/{camp-slug}/logo` and add two logos:
* Create `static_src/img/{camp-slug}/logo` and add two logos:
* `{camp-slug}-logo-large.png`
* `{camp-slug}-logo-small.png`

View file

@ -35,7 +35,7 @@ class Command(BaseCommand):
# directories to create, relative to DJANGO_BASE_PATH
dirs = [
'static/img/{camp_slug}/logo'
'static_src/img/{camp_slug}/logo'
]
camp_slug = options['camp_slug']
@ -60,11 +60,11 @@ class Command(BaseCommand):
self.output('All there is left is to create:')
self.output(
self.local_dir(
'static/img/{camp_slug}/logo/{camp_slug}-logo-large.png'.format(camp_slug=camp_slug)
'static_src/img/{camp_slug}/logo/{camp_slug}-logo-large.png'.format(camp_slug=camp_slug)
)
)
self.output(
self.local_dir(
'static/img/{camp_slug}/logo/{camp_slug}-logo-small.png'.format(camp_slug=camp_slug)
'static_src/img/{camp_slug}/logo/{camp_slug}-logo-small.png'.format(camp_slug=camp_slug)
)
)