diff --git a/src/root/overview.tt b/src/root/overview.tt index afdc745a..8ae4ff77 100644 --- a/src/root/overview.tt +++ b/src/root/overview.tt @@ -2,13 +2,15 @@ [% PROCESS common.tt %] [% IF newItems.size != 0 %] -
- [% FOREACH i IN newsItems %] - [% contents = String.new(i.contents) %] -

[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]

- [% contents.replace('\n','
\n') %] - [% END %] -
+
+ [% FOREACH i IN newsItems %] +
+ [% contents = String.new(i.contents) %] +

[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]

+ [% contents.replace('\n','
\n') %] +
+ [% END %] +
[% END %]

Projects

diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index 67a0a334..1e27a9d1 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -83,3 +83,7 @@ div.page-header h1 small { .shell-prompt { color: gray; } + +div.news-item:not(:first-child) { + margin-top: 1em; +}