Skip to content

Commit

Permalink
Update index.html - Handle untitled posts
Browse files Browse the repository at this point in the history
  • Loading branch information
cemreefe authored Jan 8, 2025
1 parent b71cc9d commit 8441c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h1 style="display:inline-block;width:100%;max-width:40%;" align="left;">Simple

<div v-for="(item, index) in paginatedFeeds" :key="index" class="feed-item">
<div class="meta">{{ formatDate(item.pubDate) }} | {{ item.feedTitle }}</div>
<a href="#" @click.prevent="showDescription(item)" class="post-title">{{ item.title }}</a>
<a href="#" @click.prevent="showDescription(item)" class="post-title">{{ !!item.title ? item.title : "Post" }}</a>
<div v-if="item.showDescription" class="description">
<div v-html="item.content"></div>
<a :href="item.link" target="_blank">Read on {{ item.feedTitle }}</a>
Expand Down

0 comments on commit 8441c67

Please sign in to comment.