1
0

Make a URL in a guestbook emphasized.

This commit is contained in:
Alexander Andreev 2023-02-05 21:49:16 +04:00
parent a6fd764cbd
commit eff952c32a
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -41,7 +41,7 @@ block content
article article
header header
- var created_tz = util.ToClientTimezone(entry.Created, r).Format("2006-01-02T15:04:05") - 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") each line in strings.Split(entry.Message, "\n")
+entryLine(line) +entryLine(line)
if (entry.Reply != nil) if (entry.Reply != nil)