Check if we should not show a website.
This commit is contained in:
parent
b512af25a3
commit
45c2ff6505
@ -41,7 +41,10 @@ block content
|
|||||||
article
|
article
|
||||||
header
|
header
|
||||||
- var created_tz = util.ToClientTimezone(entry.Created, r).Format("Monday _2 January 2006 15:04:05 -07:00")
|
- var created_tz = util.ToClientTimezone(entry.Created, r).Format("Monday _2 January 2006 15:04:05 -07:00")
|
||||||
| ##{entry.ID} by #[span.highlighted #{entry.Name}] #[em #{entry.Website}] on #[time(datetime=created_tz) #{created_tz}]
|
- var website = ""
|
||||||
|
if (!entry.HideWebsite)
|
||||||
|
- website = entry.Website
|
||||||
|
| ##{entry.ID} by #[span.highlighted #{entry.Name}] #[em #{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)
|
||||||
|
Loading…
Reference in New Issue
Block a user