From b33e812c3d0c18d9b2b28090b241163df6dded79 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Wed, 29 Jun 2022 00:48:50 -0400 Subject: [PATCH] Add correspondents page template First use of data retrieved from the db. --- site-generator | 2 +- templates/content-correspondents.tpl.html | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 templates/content-correspondents.tpl.html diff --git a/site-generator b/site-generator index 612a5f2..7a313d6 100755 --- a/site-generator +++ b/site-generator @@ -55,7 +55,7 @@ sub main { read_config "site.cfg" => my %config; my $tt = get_template_html(); - generate_page($tt, $config{contact}{navigation}, $config{contact}{content}); + generate_page($tt, $config{correspondents}{navigation}, $config{correspondents}{content}); return 0; } diff --git a/templates/content-correspondents.tpl.html b/templates/content-correspondents.tpl.html new file mode 100644 index 0000000..688393f --- /dev/null +++ b/templates/content-correspondents.tpl.html @@ -0,0 +1,22 @@ +
+

+

Correspondents

For more information on how to become a Correspondent see our contribute page. To add a logo here, either email one to admin at hpr or setup your email on Gravatar. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.

+ + + + + + + + + + + + + + + +
AvatarName & Host IDlicenseLast Show

+ + Host ID:
host.last_posted

Become a Correspondent

+