From d62db384fecb4da2e3d6bb0abcb1c02c30837bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Berthaud-M=C3=BCller?= Date: Wed, 30 Aug 2023 20:07:38 +0200 Subject: [PATCH] add title and label for liberapay icon --- public/lp.svg | 2 +- src/views/general.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/lp.svg b/public/lp.svg index bdae6cc..6400dc9 100644 --- a/public/lp.svg +++ b/public/lp.svg @@ -1,4 +1,4 @@ - + diff --git a/src/views/general.nim b/src/views/general.nim index f5d26d1..0bc287e 100644 --- a/src/views/general.nim +++ b/src/views/general.nim @@ -32,7 +32,7 @@ proc renderNavbar(cfg: Config; req: Request; rss, canonical: string): VNode = if cfg.enableRss and rss.len > 0: icon "rss-feed", title="RSS Feed", href=rss icon "bird", title="Open in Twitter", href=canonical - a(href="https://liberapay.com/zedeus"): verbatim lp + a(href="https://liberapay.com/zedeus", title="Liberapay — zedeus"): verbatim lp icon "info", title="About", href="/about" icon "cog", title="Preferences", href=("/settings?referer=" & encodeUrl(path))