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 && (
|
article && (
|
||||||
<div class="post">
|
<div class="post">
|
||||||
|
{article.source && <span class="source">{article.source}</span>}
|
||||||
{article.title && <h1 class="title">{article.title}</h1>}
|
{article.title && <h1 class="title">{article.title}</h1>}
|
||||||
{(article.author || datePublished) && (
|
{(article.author || datePublished) && (
|
||||||
<ul class="publish-info">
|
<ul class="publish-info">
|
||||||
|
@ -42,6 +43,10 @@ const datePublished =
|
||||||
h1.title {
|
h1.title {
|
||||||
font-size: xx-large;
|
font-size: xx-large;
|
||||||
}
|
}
|
||||||
|
span.source {
|
||||||
|
color: #555;
|
||||||
|
font-size: normal;
|
||||||
|
}
|
||||||
p,
|
p,
|
||||||
img,
|
img,
|
||||||
table,
|
table,
|
||||||
|
|
Loading…
Reference in a new issue