Add unpublished text to recent blog posts
This commit is contained in:
parent
2d5eec9dfe
commit
e69b7df500
@ -19,6 +19,7 @@
|
||||
{{ article.title }}
|
||||
</h4>
|
||||
<span class="article-date" :title="absDate(article.date)">{{ relDate(article.date) }}</span>
|
||||
<span class="article-published" v-if="!article.published">Unpublished</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
9
resources/scss/_blog.scss
vendored
9
resources/scss/_blog.scss
vendored
@ -68,13 +68,20 @@ section.blog {
|
||||
}
|
||||
|
||||
.article-desc,
|
||||
.article-date {
|
||||
.article-date,
|
||||
.article-published {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.article-date {
|
||||
color: darken($text-color, 15%);
|
||||
}
|
||||
|
||||
.article-published {
|
||||
text-transform: uppercase;
|
||||
font-size: 1rem;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user