Merge branch 'master' of github.com:bornhack/bornhack-website
This commit is contained in:
commit
bae4e78b3f
|
@ -68,7 +68,7 @@ or go through the manuel process below:
|
||||||
* Add a sponsers page, `{camp-slug}-sponsors.html`, to `sponsors/templates`.
|
* Add a sponsers page, `{camp-slug}-sponsors.html`, to `sponsors/templates`.
|
||||||
* Add a frontpage, `{camp-slug}-camp_detail.html`, to `camps/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`.
|
* 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-large.png`
|
||||||
* `{camp-slug}-logo-small.png`
|
* `{camp-slug}-logo-small.png`
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
# directories to create, relative to DJANGO_BASE_PATH
|
# directories to create, relative to DJANGO_BASE_PATH
|
||||||
dirs = [
|
dirs = [
|
||||||
'static/img/{camp_slug}/logo'
|
'static_src/img/{camp_slug}/logo'
|
||||||
]
|
]
|
||||||
|
|
||||||
camp_slug = options['camp_slug']
|
camp_slug = options['camp_slug']
|
||||||
|
@ -60,11 +60,11 @@ class Command(BaseCommand):
|
||||||
self.output('All there is left is to create:')
|
self.output('All there is left is to create:')
|
||||||
self.output(
|
self.output(
|
||||||
self.local_dir(
|
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.output(
|
||||||
self.local_dir(
|
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)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue