+
+
+
+ {#if newsList?.length !== 0}
+ News
+
+ {#each newsList as item}
+
+
+
+ {#if (videoId = checkIfYoutubeVideo(item.url))}
+
+ {:else}
+
+
+ {/each} +
+ {#if newsList?.length !== rawNews?.length}
+
+ {/if}
+ {:else}
+
+
+
+
+ {/if}
+
+
-
\ No newline at end of file
+
+
+ + {formatDate(item?.publishedDate)} ago · {item?.site} +
-
-
-
-
-
-
-
-
-
- {#if newsList?.length !== 0}
-
- - News -
-
- {#each newsList as item}
-
- {/each} - -
- {#if newsList?.length !== rawNews?.length}
-
- {/if}
-
-
- {:else}
-
- {#if videoId = checkIfYoutubeVideo(item.url)}
-
- {:else}
-
-
-
-
-
-
-
- {/if}
-
-
- - {formatDate(item?.publishedDate)} ago · {item?.site} -
- - - {item?.title} -- {item?.text} -
- -- {/each} - -
-
- No news article published yet!
-
- {/if}
-
-
+
+ {item?.title}
+ + {item?.text} +
++ {/each} +
+
+ No news article published yet!
+
+ {/if}
+