From 3ca8ba8b466028cc5d653b960abd9b2126031fef Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 26 Apr 2020 18:00:30 -0400 Subject: Add mailto address for the archive --- atom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atom.c') diff --git a/atom.c b/atom.c index 85393c9..ea58c49 100644 --- a/atom.c +++ b/atom.c @@ -158,7 +158,7 @@ int atomIndexOpen(FILE *file) { const char *template = TEMPLATE( <[q]xml version="1.0" encoding="utf-8"[q]> - [base] + mailto:[addr] [title] [updated] @@ -169,6 +169,7 @@ int atomIndexOpen(FILE *file) { strftime(updated, sizeof(updated), "%FT%TZ", gmtime(&now)); struct Variable vars[] = { { "q", "?" }, + { "addr", baseAddress }, { "base", (baseURL ? baseURL : "") }, { "title", baseTitle }, { "updated", updated }, -- cgit 1.4.1