From eff952c32a474c61ad28cd56afa69569a9bb0500 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 5 Feb 2023 21:49:16 +0400 Subject: [PATCH] Make a URL in a guestbook emphasized. --- web/templates/guestbook.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index 91de1c1..40eb225 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -41,7 +41,7 @@ block content article header - var created_tz = util.ToClientTimezone(entry.Created, r).Format("2006-01-02T15:04:05") - | Entry ##{entry.ID} by #[span.highlighted #{entry.Name}] #{entry.Website} on #[time(datetime=created_tz) #{created_tz}] + | Entry ##{entry.ID} by #[span.highlighted #{entry.Name}] #[em #{entry.Website}] on #[time(datetime=created_tz) #{created_tz}] each line in strings.Split(entry.Message, "\n") +entryLine(line) if (entry.Reply != nil)