code refactoring
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
<a [href]="post.postUrl" target="_blank">
|
||||
|
||||
<figure class="blog-banner-box" *ngIf="post.image">
|
||||
<img src="{{blogImageUrl + post.image}}" [alt]="post.title" loading="lazy">
|
||||
<img src="{{blogUrl + post.image}}" [alt]="post.title" loading="lazy">
|
||||
</figure>
|
||||
|
||||
<div class="blog-content">
|
||||
|
||||
<div class="blog-meta">
|
||||
<p class="blog-category">{{post.categories}}</p>
|
||||
<p class="blog-category" *ngFor="let category of post.categories; index as i">{{post.categories.length - i > 1 ? category + ',' : category}}</p>
|
||||
|
||||
<span class="dot"></span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user