diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index e56e99561..88b194a65 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -72,20 +72,29 @@ $today = @strtotime('today'); ?>

entry->title() ?>

-
entry->authors(); - if (is_array($authors)): - $first = true; - foreach ($authors as $author): - echo $first ? _t('gen.short.by_author') . ' ' : '· '; - $first = false; - ?> - - -
+ +
entry->date() ?>
+ entry->authors(); + if (!empty($authors) && is_array($authors)): + $first = true; + ?> +
+ + +
+
+
entry->content()) : $this->entry->content(); - ?> + ?>
renderHelper('index/normal/entry_bottom'); diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index c21fdb7f3..644cd09c6 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -63,10 +63,9 @@ $content_width = FreshRSS_Context::$user_conf->content_width; echo ' — '; endif; echo $item->date(); - ?> - + ?>
content() ?> -
+ div { + display: inline; +} + +.subtitle > div:not(:first-of-type)::before { + content: ' · '; +} + br { line-height: 1em; } diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index cb2b5f474..eea8ae191 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -719,7 +719,7 @@ input[type="search"] { } .flux .item.title .author { - padding-right: 1rem; + padding-left: 1rem; color: #555; font-size: .9rem; font-weight: normal; @@ -781,6 +781,14 @@ input[type="search"] { overflow: auto; } +.subtitle > div { + display: inline; +} + +.subtitle > div:not(:first-of-type)::before { + content: ' · '; +} + br { line-height: 1em; }