PageRenderTime 34ms CodeModel.GetById 26ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/src/index.html

http://github.com/perlorg/cpanorg
HTML | 129 lines | 68 code | 10 blank | 51 comment | 0 complexity | c01735f2db3023f323067988316c7072 MD5 | raw file
  1[%
  2  page.import({
  3    title   => "The Comprehensive Perl Archive Network",
  4    section => 'home',
  5    skip_master_mirror => 0,
  6  });
  7
  8 %][% page.head = BLOCK %]
  9<!-- Copyright Jarkko Hietaniemi <jhi@iki.fi>
 10     1998,1999,2000,2001,2003,2003,2004,2005,2008
 11     Copyright 2010-2013 Ask Bjørn Hansen <ask@perl.org>
 12     All Rights Reserved.
 13     The CPAN Logo provided by J.C. Thorpe.
 14     You may distribute this document either under the Artistic License
 15     (comes with Perl) or the GNU Public License, whichever suits you.
 16
 17     LEGALESE
 18
 19     You are not allowed to remove or alter these comments.
 20
 21     You are not allowed to rename, remove, or add any files
 22     in your public mirror of CPAN.
 23
 24     "Public mirror of CPAN" means a site listed in
 25     the SITES.html and SITES files at the top level of CPAN
 26     and also listed at the site http://mirrors.cpan.org/.
 27
 28     You are not allowed to alter any file
 29     in you public mirror of CPAN
 30     EXCEPT
 31     that you can add a short acknowledgement for example
 32     for your hosting company, company, university, or sponsor,
 33     into this CPAN top-level index.html by adding a small
 34     non-animated image and a hyperlink pointing to your organization
 35     with text like "hosted by", "powered by", or "sponsored by",
 36     by placing it visually next to the "CPAN master site hosted by
 37     ..." acknowledgement at the bottom of the page.
 38     The image used may not be larger than the one used for the master
 39     site acknowledgement logos.
 40         (Technical sidenote: if you do add an acknowledgement link,
 41         please do think of the consequences to your possible downstream
 42         CPAN mirrors.)
 43     Altering this index.html in any other way is not allowed.
 44     Altering any other files is not allowed.
 45
 46     Adding any advertisements or any revenue-generating material
 47     is strictly forbidden.
 48
 49     Similarly, for your public CPAN mirrors "framing" or "wrapping"
 50     the CPAN web pages into other sites by using e.g. HTML tables
 51     or frames is not allowed.
 52
 53     You are allowed to use the files of CPAN to create your own
 54     web sites and services since we are just a distributor of the files,
 55     we do not own most of them.  However, you may not call your creations
 56     "CPAN" or "CPAN mirrors".  You may say that the files are "mirrored
 57     from CPAN".
 58
 59-->
 60<script type="text/javascript" charset="utf-8">
 61    function focusField() {
 62        document.getElementById("searchfield").focus();
 63    }
 64    onload = focusField;
 65</script>
 66
 67[% END %]
 68
 69    <table border="0" cellspacing="0" cellpadding="0">
 70    <tr>
 71        <td class="third">
 72            <h2>Welcome to CPAN</h2>
 73            <p>
 74                The Comprehensive Perl Archive Network (CPAN) currently
 75                has <a href="modules/index.html">[% cpan_stats.modules.count | comma %]
 76                Perl modules</a> in [% cpan_stats.distributions.count | comma %] distributions,
 77                written by [% cpan_stats.authors.count | comma %] authors,
 78                <a href="SITES.html">mirrored</a> on [% cpan_stats.mirrors.count | comma  %] servers.
 79            </p>
 80            <p>The archive has been online since October 1995 and is constantly growing.</p>
 81
 82			<h2>Search CPAN via</h2>
 83
 84            <ul>
 85                <li><a href="https://metacpan.org/">metacpan.org</a></li>
 86            </ul>
 87
 88        </td>
 89
 90        <td class="third">
 91            <div style="margin-left: 20px">
 92                <h2>Recent Uploads</h2>
 93                [% PROCESS rss_feed, conf => {
 94                    json_file => "recent.json",
 95                    max => 10,
 96                }, rss_footer = '<li><a href="https://metacpan.org/recent"><strong>more...</strong></a></li>'
 97                %]
 98            </div>
 99        </td>
100
101        <td class="third">
102            <h2>Getting Started</h2>
103            <ul>
104                <li><a href="modules/INSTALL.html">Installing Perl Modules</a></li>
105                <li><a href="http://learn.perl.org/">Learn Perl</a></li>
106            </ul>
107
108            <h2>
109                How to contribute
110            </h2>
111            <ul>
112                <li>Read <a href="modules/04pause.html">this</a>
113                </li>
114                <li>Visit <a href=
115                "https://pause.perl.org/">https://pause.perl.org/</a>
116                </li>
117            </ul>
118
119            <h2>Perl Resources</h2>
120            <ul>
121                <li><a href="http://www.perl.org/">The Perl Programming language</a></li>
122                <li><a href="http://perldoc.perl.org/">Perl Documentation</a></li>
123                <li><a href="http://lists.perl.org/">Mailing Lists</a></li>
124                <li><a href="http://learn.perl.org/faq/">Perl FAQ</a></li>
125				<li><a href="scripts/index.html">Scripts Repository</a></li>
126			</ul>
127        </td>
128    </tr>
129    </table>