feat: display article source
This commit is contained in:
parent
6a4221d34a
commit
30e185b0f7
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,7 @@ const datePublished =
|
|||
{
|
||||
article && (
|
||||
<div class="post">
|
||||
{article.source && <span class="source">{article.source}</span>}
|
||||
{article.title && <h1 class="title">{article.title}</h1>}
|
||||
{(article.author || datePublished) && (
|
||||
<ul class="publish-info">
|
||||
|
@ -42,6 +43,10 @@ const datePublished =
|
|||
h1.title {
|
||||
font-size: xx-large;
|
||||
}
|
||||
span.source {
|
||||
color: #555;
|
||||
font-size: normal;
|
||||
}
|
||||
p,
|
||||
img,
|
||||
table,
|
||||
|
|
Loading…
Reference in a new issue