From c1ac9f69a0907e47344cf3f548694817d709a69e Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Mon, 18 Jul 2022 18:25:25 -0400 Subject: [PATCH] Add dynamic generation of years, months, day since start of HPR --- README.md | 1 + site-generator | 1 + templates/content-index.tpl.html | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8b9e79..3d423a7 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Static web page generator for the Hacker Public Radio website. * Config::Std * Template * DBI + * Date::Calc ## Usage Generate two specific pages: diff --git a/site-generator b/site-generator index 608a889..06c098b 100755 --- a/site-generator +++ b/site-generator @@ -41,6 +41,7 @@ This is a site generator for the Hacker Public Radio website based upon the Perl * Config::Std * Template * DBI + * Date::Calc =head1 AUTHOR diff --git a/templates/content-index.tpl.html b/templates/content-index.tpl.html index 8261eef..8d18fdf 100644 --- a/templates/content-index.tpl.html +++ b/templates/content-index.tpl.html @@ -3,8 +3,9 @@

welcome to hpr the community podcast

-

- we started producing shows as today with a techie on 2005-09-19, 16 years, 9 months, 17 days ago. our shows are produced by listeners like you and can be on any topic that "are of interest to hackers". if you listen to hpr then please consider contributing one show a year. if you record your show now it could be released in 13 days.

+ + +

we started producing shows as today with a techie on 2005-09-19, years, months, days ago. our shows are produced by listeners like you and can be on any topic that "are of interest to hackers". if you listen to hpr then please consider contributing one show a year. if you record your show now it could be released in 13 days.

meet the team