diff --git a/web/assets/css/mindflow.css b/web/assets/css/mindflow.css index fc61cf3..e109bd7 100755 --- a/web/assets/css/mindflow.css +++ b/web/assets/css/mindflow.css @@ -5,5 +5,6 @@ button:not(:last-child) { padding-right: 1rem; } article header a { color: var(--text-color); } article footer { - text-align: right; + display: flex; + justify-content: space-between; padding: 0; } \ No newline at end of file diff --git a/web/templates/mindflow.pug b/web/templates/mindflow.pug index 2f0db80..6113a17 100755 --- a/web/templates/mindflow.pug +++ b/web/templates/mindflow.pug @@ -31,15 +31,16 @@ block content header a(href=`#${post.PostID()}`) h3= post.Category.Name + ": " + post.Title - if (post.URL != "") - p Link: - a(href=post.PostURL(r.Host, false)) #{post.PostURL(r.Host, false)} each line in strings.Split(post.Body, "\n") if (line[0] == '>') p.quote!= line else p!= line footer + if (post.URL != "") + a(href=post.PostURL(r.Host, false)) #{post.PostURL(r.Host, false)} + else + span time(datetime=util.ToClientTimezone(post.Date, r))= util.ToClientTimezone(post.Date, r).Format(time.RFC1123) else p.center Nothing? There must be some... Looks like database went down.