make gallery rss links compatible with subdir sites

cc @felixfontein

Signed-off-by: Chris Warrick <kwpolska@gmail.com>