From: Stevan Little Date: Thu, 30 Sep 2010 00:42:50 +0000 (-0400) Subject: adding in the Moose blog X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc5bad3c18a33ec66d8dd37eea6eeed0b05d3af9;p=gitmo%2Fmoose-website.git adding in the Moose blog --- diff --git a/data/pages.yml b/data/pages.yml index 1406ae5..0d2f706 100644 --- a/data/pages.yml +++ b/data/pages.yml @@ -73,6 +73,8 @@ url : "http://clab.ist.unomaha.edu/" - name : "Int80" url : "http://int80.biz/" +- name : blog + outfile : http://blog.moose.perl.org/ - name : download template : download.tt outfile : download.html diff --git a/lib/Moose/Website.pm b/lib/Moose/Website.pm index 3c93f3f..7b8c238 100644 --- a/lib/Moose/Website.pm +++ b/lib/Moose/Website.pm @@ -116,6 +116,8 @@ sub run { foreach my $page ( @{ $self->pages } ) { + next unless exists $page->{template}; + my $outfile = $self->outdir->file( $page->{outfile} )->stringify; $self->log( "Writing page " . $page->{name} . " to $outfile using template " . $page->{template} ); diff --git a/lib/Moose/Website/I18N/po/de.po b/lib/Moose/Website/I18N/po/de.po index 601c4cf..3f4aab4 100644 --- a/lib/Moose/Website/I18N/po/de.po +++ b/lib/Moose/Website/I18N/po/de.po @@ -24,6 +24,9 @@ msgstr "Moose - Ein postmodernes Objektsystem für Perl" msgid "nav home" msgstr "Hauptseite" +msgid "nav blog" +msgstr "Blog" + msgid "nav about" msgstr "Über" diff --git a/lib/Moose/Website/I18N/po/en.po b/lib/Moose/Website/I18N/po/en.po index 1986448..f578dd0 100644 --- a/lib/Moose/Website/I18N/po/en.po +++ b/lib/Moose/Website/I18N/po/en.po @@ -18,6 +18,9 @@ msgstr "Moose - A postmodern object system for Perl" msgid "nav home" msgstr "Home" +msgid "nav blog" +msgstr "Blog" + msgid "nav about" msgstr "About"