forked from perlorg/perlweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
160 lines (144 loc) · 5.85 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[%
page.import({
title => 'The Perl Programming Language',
section => 'home',
description
=> 'The Perl Programming Language at Perl.org. Links and '
_ 'other helpful resources for new and experienced Perl programmers.',
include_sponsor => 1,
quick_links_1_title => 'Current Perl version',
quick_links_1_list => [
"<a href=\"/get.html\">${perl_stats.perl_version} - download now</a>",
],
quick_links_2_title => 'Find out more',
quick_links_2_list => [
'<a href="/learn.html">Learn</a>',
'<a href="/docs.html">Documentation</a>',
'<a href="/community.html">Community</a>',
'<a href="/events.html">Events</a>',
],
});
%]
[%
# Setup random messages
cpan_msg = perl_stats.cpan_dists _ ' extensions on CPAN';
headlines = [
'Flexible & Powerful',
cpan_msg,
];
rand_num = headlines.size.rand;
headline = headlines.$rand_num;
%]
<div class="masthead">
<p class="headline">[% headline %]</p>
<p class="strap">That's why we love Perl 5</p>
<p class="button"><a href="/get.html" class="download">Download Perl</a></p>
<p class="cta"><a href="/get.html">Get started</a></p>
</div>
<p class="intro">Perl 5 is a highly capable, feature-rich programming language with over [% perl_stats.perl_age %] years of development. <a href="/about.html">More about why we love Perl...</a></p>
<table class="content_table">
<tr>
<td>
<div class="module">
<a href="/learn.html"><img alt="" src="[% combust.static_url("/images/icons/learn.png") %]" width="45" height="45" /></a>
<h4>
<a href="/learn.html">Learning Perl 5</a>
</h4>
<p>
With free online books, over [% perl_stats.cpan_dists %] extension modules, and a large developer community, there are many ways to learn Perl 5.
</p>
</div>
</td>
<td>
<div class="module">
<a href="/community.html"><img alt="" src="[% combust.static_url("/images/icons/community.png") %]" width="45" height="45" /></a>
<h4>
<a href="/community.html">The Perl Community</a>
</h4>
<p>
Perl has an active world wide community with over [% perl_stats.monger_groups %] local groups, mailing lists and support/discussion websites.
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="module">
<a href="/docs.html"><img alt="" src="[% combust.static_url("/images/icons/docs.png") %]" width="45" height="45" /></a>
<h4>
<a href="/docs.html">Documentation</a>
</h4>
<p>
Core documentation, FAQs and translations.
</p>
</div>
</td>
<td>
<div class="module">
<a href="/contribute.html"><img alt="" src="[% combust.static_url("/images/icons/cog.png") %]" width="45" height="45" /></a>
<h4>
<a href="/contribute.html">Contribute to Perl</a>
</h4>
<p>
Perl is being <a href="/dev.html">actively developed</a>. There are many ways to <a href="/contribute.html">get involved</a>.
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="module">
<a href="/cpan.html"><img alt="" src="[% combust.static_url("/images/icons/cpan.png") %]" width="45" height="45" /></a>
<h4>
<a href="/cpan.html">CPAN</a>
</h4>
<p>
The Comprehensive Perl Archive Network (CPAN) has over [% perl_stats.cpan_dists %] open source distributions available for download.
</p>
</div>
</td>
<td>
<div class="module">
<a href="/events.html"><img alt="" src="[% combust.static_url("/images/icons/cal.png") %]" width="45" height="45" /></a>
<h4>
<a href="/events.html">Events and Conferences</a>
</h4>
<p>
Conferences, social and technical events around the world offer lots of networking and learning opportunities.
</p>
</div>
</td>
</tr>
<tr>
<td>
<div class="module">
<a href="http://www.perl6.org/"><img alt="" src="[% combust.static_url("/images/icons/perl6.png") %]" width="45" height="45" /></a>
<h4>
<a href="http://www.perl6.org/">Perl 6</a>
</h4>
<p>
Perl 6 is a sister language, part of the Perl family. Perl 6 is not production ready yet, you can get involved with its <a href="/dev.html">development</a> though.
</p>
</div>
</td>
<td>
<div class="module">
<a href="http://www.perlfoundation.org/"><img alt="" src="[% combust.static_url("/images/icons/onion.png") %]" width="45" height="45" /></a>
<h4>
<a href="http://www.perlfoundation.org/">The Perl Foundation</a>
</h4>
<p>
The Perl Foundation is dedicated to the advancement of the Perl programming language through open discussion, collaboration, design, and code.
</p>
</div>
</td>
</tr>
</table>
<div class="bar"> </div>
<table class="content_table">
<tr>
<td colspan="2">
[% quicknews ("cpanrecent", 'Latest Uploads to <a href="http://www.cpan.org/">CPAN</a>', 10) %]
</td>
</tr>
</table>