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

Commit ce92b20

Browse files
committed
Mergefix
2 parents 3d89da7 + 69da2b3 commit ce92b20

File tree

15 files changed

+63
-56
lines changed

15 files changed

+63
-56
lines changed

static/gulpfile.litcoffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Configuration:
1919
Build destinations -- whole website is static build from jade templates
2020
and static files are inside `static` directory.
2121

22-
BuildRoot = 'build'
22+
BuildRoot = 'build/2015'
2323
2424
Destination =
2525
all: BuildRoot + '/**'

static/jade/components/footer.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
footer
22
.container
33
footer
4-
a(href='/coc.html')
4+
a(href='/'+year+'/coc.html')
55
| Code of Conduct
66

77
p.psf-trademark
@@ -11,5 +11,5 @@ footer
1111
| .
1212

1313
p
14-
a(href="mailto:info@pycon.cz")
14+
a(href="mailto:"+contactEmail)
1515
| Feel free to contact us!

static/jade/components/head.jade

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
meta(charset='utf-8')
2-
title PyCon CZ 2015
2+
title PyCon CZ
3+
= ' '+ year
4+
base(href='/'+year+'/')
35
meta(name='viewport', content='width=device-width, initial-scale=1.0')
46
meta(name='keywords', content='Python, PyCon, Brno, Django, conference, Česká Republika, konference')
57
meta(name='description', content='The very first Python conference in the Czech Republic')
6-
link(rel='shortcut icon', href='/static/images/pycon-cz-logo-icon.svg', type='image/svg+xml')
7-
link(rel='shortcut icon', href='/static/images/pycon-cz-logo-icon.png', type='image/png')
8+
link(rel='shortcut icon', href='/'+year+'/static/images/pycon-cz-logo-icon.svg', type='image/svg+xml')
9+
link(rel='shortcut icon', href='/'+year+'/static/images/pycon-cz-logo-icon.png', type='image/png')
810
//if lt IE 9
911
script(src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js')
1012
link(href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css', rel='stylesheet')
11-
link(href='/static/css/pyconcz.css', rel='stylesheet')
13+
link(href='/'+year+'/static/css/pyconcz.css', rel='stylesheet')
1214

1315

1416
//Facebook Meta
1517
meta( property="og:title", content="PyCon CZ 2015" )
1618
meta( property="og:site_name", content="cz.pycon.org" )
1719
meta( property="og:description", content="The very first Python conference in the Czech Republic" )
18-
meta( property="og:image", content="http://cz.pycon.org/static/images/pycon-cz-logo-fb.png" )
19-
meta( property="og:url", content="http://cz.pycon.org/" )
20+
meta( property="og:image", content="http://cz.pycon.org/" + year+ "/static/images/pycon-cz-logo-fb.png" )
21+
meta( property="og:url", content="http://cz.pycon.org/" +year+"/" )
2022
meta( property="og:type", content="website" )

static/jade/components/js.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ script(type='text/javascript', src='https://code.jquery.com/jquery-2.1.4.min.js'
22
script(type='text/javascript', src='https://maps.google.com/maps/api/js?sensor=true')
33
script(type='text/javascript', src='https://cdnjs.cloudflare.com/ajax/libs/gmaps.js/0.4.12/gmaps.js')
44
script(type='text/javascript', src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js')
5-
script(type='text/javascript', src='/static/js/main.min.js')
5+
script(type='text/javascript', src='/'+year+'/static/js/main.min.js')
66
script.
77
(function (i, s, o, g, r, a, m) {
88
i['GoogleAnalyticsObject'] = r;

static/jade/components/logo.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
h1
44
span.label PyCon CZ 2015
55
//- img.python-logo(src="/static/images/pycon-cz-logo.png")
6-
img.python-logo.img-responsive(alt="PyCon CZ", src="/static/images/pycon-cz-logo.svg", onerror="this.onerror = null; this.src = '/static/images/pycon-cz-logo.png'")
6+
img.python-logo.img-responsive(alt="PyCon CZ", src='/'+year+"/static/images/pycon-cz-logo.svg", onerror="this.onerror = null; this.src = '/2015/static/images/pycon-cz-logo.png'")
77
.row
88
.col-md-6
99
p.event-location Brno, Czech Republic

static/jade/components/navbar.jade

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ div
77
.icon-bar
88
.icon-bar
99
.icon-bar
10-
a.navbar-brand(href="/") PyCon CZ
10+
a.navbar-brand(href="/"+year+'/') PyCon CZ
1111

1212
.collapse.navbar-collapse#main-navbar
1313
ul.nav.navbar-nav
1414
li
15-
a(href='/#speakers') Speakers
15+
a(href='/'+year+'/#speakers') Speakers
1616
li
17-
a(href='/#schedule') Schedule
17+
a(href='/'+year+'/#schedule') Schedule
1818
li
19-
a(href='/#tickets') Tickets
19+
a(href='/'+year+'/#tickets') Tickets
2020
li
21-
a(href='/#sponsors') Sponsors
21+
a(href='/'+year+'/#sponsors') Sponsors
2222
li
23-
a(href='/team.html') Team
23+
a(href='/'+year+'/team.html') Team
2424
li
25-
a(href='/#venue') Venue
25+
a(href='/'+year+'/#venue') Venue
2626
ul.right.nav
2727
li
2828
a(href='https://twitter.com/pyconcz', target='_blank')

static/jade/components/vars.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- var contactEmail = "info@pycon.cz"
2+
- var year = "2015"
3+
- var ticketsLink = "https://ti.to/pyvec/pycon-cz-2015/"

static/jade/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- var contactEmail = "info@pycon.cz"
1+
include components/vars
22

33
doctype html
44
html(lang='en-us')

static/jade/pages/speakers.jade

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,39 @@
55
.col-md-12
66
.cfp-notice
77
p.lead
8-
| We are still looking for speakers! You can
8+
| We are still looking for speakers! You can
99
a.cfp-link(href='http://goo.gl/forms/8Tc22glxxc', target='_blank') submit your talk
10-
| until
10+
| until
1111
strong 28th September
1212
| .
13-
13+
1414
p.lead.
1515
Two very special speakers accepted our invitation for keynotes:
1616
Amber Brown and Russell Keith-Magee. We're really excited to have
1717
them both aboard!
1818

1919
.keynote-speaker
2020
.keynote-avatar
21-
img(src='/static/images/speakers/amber_brown.jpg', alt='Avatar of Amber Brown')
21+
img(src='/'+year+'/static/images/speakers/amber_brown.jpg', alt='Avatar of Amber Brown')
2222
.keynote-description
2323
h3.name
24-
| Amber Brown
24+
| Amber Brown
2525
a.speaker-link(href="https://twitter.com/hawkieowl")
2626
.fa.fa-twitter
27-
27+
2828
p.short-description Twisted project Core Developer
2929
p.description.
3030
Amber, better known as HawkOwl, is a core developer and release manager
3131
of the Twisted project. In her spare time she writes web applications,
3232
works on Twisted, and organizes events such as GovHack and Django Girls.
33-
33+
3434
.keynote-speaker
3535
.keynote-avatar
36-
img(src='/static/images/speakers/russell_keith_magee.png', alt='Photo of Russel Keith-Magee')
37-
36+
img(src='/'+year+'/static/images/speakers/russell_keith_magee.png', alt='Photo of Russel Keith-Magee')
37+
3838
.keynote-description
3939
h3.name
40-
| Russell Keith-Magee
40+
| Russell Keith-Magee
4141
a.speaker-link(href="https://twitter.com/freakboy3742")
4242
.fa.fa-twitter
4343
p.short-description Django Core Developer
@@ -55,7 +55,7 @@
5555
p.lead.
5656
PyCon CZ is community-driven event focused on Python programming language.
5757
We would like to gather the most interesting talks from various fields.
58-
58+
5959
p.lead.alert-success.alert.
6060
Call for papers was so successful that we've decided to open #[b second track]
6161
of talks. This requires an extra work and more preparations, so we're going

static/jade/pages/sponsors.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ h2 Our sponsors
88
designers, and community members from all over.
99
This year we expect at least 250 attendees to whom you could present your
1010
company. If you are interested in sponsoring our event, see our
11-
#[a(href="/sponsorship.html") sponsorship packages].
11+
#[a(href='/'+year+"/sponsorship.html") sponsorship packages].
1212

1313
.container
1414
h3 Platinum sponsor
@@ -21,10 +21,10 @@ h2 Our sponsors
2121
.silver
2222
.sponsor
2323
a.sponsor.twisto(href="https://www.twisto.cz", target="_blank")
24-
img(src="/static/images/sponsors/logo-twisto.jpg")
24+
img(src='/'+year+"/static/images/sponsors/logo-twisto.jpg")
2525

2626
h3 Silver sponsors
2727
.bronze
2828
.sponsor
2929
a.sponsor.imper(href="https://imper.cz", target="_blank")
30-
img(src="/static/images/sponsors/logo-imper.png")
30+
img(src='/'+year+"/static/images/sponsors/logo-imper.png")

0 commit comments

Comments
 (0)