From 66e4782c5c422b4f99a4763212bdc974efffc65b Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sun, 5 Jul 2020 19:29:49 +0100 Subject: Add dark theme. Improve display of multi-reddits. Add NetPositive inspired error pages --- src/main/resources/templates/lib.ftlh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/main/resources/templates/lib.ftlh') diff --git a/src/main/resources/templates/lib.ftlh b/src/main/resources/templates/lib.ftlh index 9b9e96b..ee013a4 100644 --- a/src/main/resources/templates/lib.ftlh +++ b/src/main/resources/templates/lib.ftlh @@ -13,7 +13,15 @@ <#macro header subreddit>
- /r/${subreddit} + + <#if subreddit?contains("+")> + <#list subreddit?split("+") as multiRedditName> + <#if multiRedditName?is_first>/r/<#else>+${multiRedditName} + + <#else> + /r/${subreddit} + + <#nested> -- cgit v1.2.3