Skip to content

Commit 3c8a70e

Browse files
authored
Merge pull request #108 from reactome/106-remove-tags-from-cms
chore: Removed Tags from articles
2 parents 8cd97e2 + 52683d5 commit 3c8a70e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

projects/website-angular/src/app/article/article-page/article-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ <h1>{{ pageTile }}</h1>
1717
<div class="news-content">
1818
<div class="news-meta">
1919
<time [attr.datetime]="article.date">{{ formatD(article.date) }}</time>
20-
@if (article.tags && article.tags.length > 0) {
20+
<!-- @if (article.tags && article.tags.length > 0) {
2121
<div class="news-tags">
2222
@for (tag of article.tags.slice(0, 3); track tag) {
2323
<span class="tag">{{ tag }}</span>
2424
}
2525
</div>
26-
}
26+
} -->
2727
</div>
2828
<h2>
2929
<a [href]="'/' + articlePath + '/' + article.slug">{{ article.title }}</a>

projects/website-angular/src/app/article/article/article.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ <h1 class="article-title">{{ article.title }}</h1>
1111
<time class="article-date">{{ formatD(article.date) }}</time>
1212
<span *ngIf="article.author" class="article-author">by {{ article.author }}</span>
1313
</div>
14-
<div *ngIf="article.tags" [class]="'article-tags' + (article.tags.length > 0 ? ' has-tags' : '')">
14+
<!-- <div *ngIf="article.tags" [class]="'article-tags' + (article.tags.length > 0 ? ' has-tags' : '')">
1515
<span *ngFor="let tag of article.tags" class="tag">{{ tag }}</span>
16-
</div>
16+
</div> -->
1717
</header>
1818
<div class="article-body">
1919
<img class="article-image" *ngIf="article.image" [src]="article.image" alt="Article Image" class="article-image"/>

0 commit comments

Comments
 (0)