forked from yapceurope/yef-www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (86 loc) · 3.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[% WRAPPER html_page
title = 'Home'
%]
<p>
The <strong>YAPC::Europe Foundation</strong> (YEF) is a
<a href="[% foundation_page %]">non-profit
organization</a> which works to promote Perl in Europe primarily through
public events.
</p><p>
YEF <a href="[% organizers_page %]">supports conference organizers</a>
with <a href="[% donation_page %]">kickstart donations</a> and by
sponsoring an <a href="[% payment_page %]">online payment system</a>
that can be connected to <a href="[% act_page %]">Act</a>. The
<a href="[% venue_page %]">venue committee</a> also reviews
<a href="[% ye_org_page %]">proposals</a> for the annual YAPC::Europe
conference.
</p>
<p>
YEF is not affiliated with
<a href="http://www.perlfoundation.org">The Perl Foundation</a> (TPF),
which operates worldwide and has a broader mission of supporting Perl.
However, the two organizations sometimes cooperate on European events.
</p>
<div id="upcomingevents">
<div id="news">
<h3><a href="[% news_page %]">News</a></h3>
<ol id="newsitems">
[% PROCESS news_items %]
[% FOREACH item = news.list.splice( 0, 3 ) %]
<li><dl>
<dt><a href="[% news_page %]#[% item.anchor %]">[% item.title %]</a></dt>
<dd>[% date.format(item.date, format = '%B %e, %Y', locale='C' ) %]
</dd>
</dl></li>
[% END %]
</ol>
</div>
<div id="conferences">
<h3><a href="[% conferences_page %]">Conferences</a></h3>
<ol id="conferenceitems">
[% PROCESS conference_items %]
[% FOREACH item = conferences.reverse %]
[% NEXT IF ! item.end.match('xx') && date.format( item.end, '%Y%m%d' ) < date.format(date.now, '%Y%m%d') %]
[% PROCESS format_item item = item %]
[% END %]
</ol>
</div>
<div id="workshops">
<h3><a href="[% workshops_page %]">Workshops</a></h3>
<ol id="workshopitems">
[% PROCESS workshop_items %]
[% FOREACH item = workshops.list.reverse %]
[% NEXT IF ! item.end.match('xx') && date.format( item.end, '%Y%m%d' ) < date.format(date.now, '%Y%m%d') %]
[% PROCESS format_item item = item %]
[% END %]
</ol>
</div>
[% PROCESS hackathon_items %]
<div id="hackathons">
<h3><a href="[% hackathons_page %]">Hackathons</a></h3>
<ol id="hackathonitems">
[% FOREACH item = hackathons.reverse %]
[% NEXT IF ! item.end.match('xx') && date.format( item.end, '%Y%m%d' ) < date.format(date.now, '%Y%m%d') %]
[% PROCESS format_item item = item %]
[% END %]
</ol>
</div>
</div>
[% BLOCK format_item %]
<li><dl>
[% name = item.url ? '<a href="' _ item.url _ '">' _ ( item.nickname || item.name ) _ '</a>' : item.nickname || item.name %]
[% IF item.nickname ; name = name _ ' (' _ item.name _ ')' ; END %]
<dt>[% IF item.continent == 'Europe' %]<b>[% name %]</b>[% ELSE %][% name %][% END %]</dt>
<dd>[% IF item.begin.match('xx') ; %]<small>(no date announced)</small>[% ELSE ;date.format( item.begin, format='%B %e', locale='C') | replace( ' ', '' ) %]
[%- IF item.end != item.begin %]
-
[% IF date.format( item.end, format='%m') == date.format( item.begin, format='%m') %]
[% date.format( item.end, format='%e', locale='C') %]
[%- ELSE %]
[% date.format( item.end, format='%B %e', locale='C') | replace( ' ','' ) %]
[%- END %]
[%- END %], [% date.format(item.begin, '%Y') %][% END %]</dd>
<dd>[% IF item.city %][% item.city %], [% END %][% item.country %]</dd>
</dl></li>
[% END %]
[% END %]