Skip to content

Commit

Permalink
Displaying the last modified date of blog posts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabri432 committed Jun 9, 2024
1 parent 7d8ae5e commit a2cc25c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ <h2>My blogs</h2>
<a [routerLink]="'/'+ blog.link + '/.'" (click)="changeRoute(blog.link)">
<div class="image" id="image-{{colors[optionBar.indexOf(this.getTopic(blog.topics))]}}"></div>
<div class="title">{{blog.title}}</div>
<div class="date">{{blog.lastUpdateDate}}</div>
<div class="topics">
<span *ngFor="let topic of blog.topics">#{{topic}}<br /></span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ h2 {
color: black;
padding: 5%;
}
.date {
padding: 5%;
font-size: 16px;
color: grey;
}

#image-red { background-color: red;}
#image-orange { background-color: orange;}
Expand Down

0 comments on commit a2cc25c

Please sign in to comment.