Skip to content

Commit

Permalink
update to 20 years that CPAN has been around
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Feb 16, 2015
1 parent 3a8e1bb commit b9658dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -14,7 +14,7 @@ ask@perl.org to get new files included here. Making new
templates/scripts/etc to produce the output files is fine.

* Be conservative in your edits. While lots of updates are needed,
this has been around for 15 years and will be for many more. There's
this has been around for 20 years and will be for many more. There's
no rush.

* No style edits for now. Cleanups yes; but a new design/layout will
Expand All @@ -40,5 +40,3 @@ Image files are copied plainly to the html/ directory.

Everything else is processed through template toolkit. Only .html
files get the "master template" applied automatically.


9 changes: 3 additions & 6 deletions lib/tpl/straps.html
@@ -1,18 +1,15 @@
[%-
USE Math;

module_count = cpan_stats.modules.count | comma;

SET straps = [
"${module_count} open source Perl modules ready to download and use",
"Stop reinventing wheels, start building space rockets",
"Over 15 years of Perl libraries at your fingertips",
"Over 20 years of Perl libraries at your fingertips",
"You can never have too many Perl modules",
"LWPs, POEs, and DBIs -- oh my!",
];
SET strapid = Math.int(Math.rand(straps.size()));
straps.${strapid};
-%]



0 comments on commit b9658dd

Please sign in to comment.