We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04bf8e5 + a2e7d51 commit d917669Copy full SHA for d917669
1 file changed
templates/partials/news-list.html
@@ -6,7 +6,7 @@ <h3>Latest News</h3>
6
<div class="grid__item width-3-12">
7
<div class="grid__item">
8
<h4>
9
- <a href="{post.data.link ?: post.url}" {#if post.data.link}target="_blank" {/if}>
+ <a href="{post.url.absolute}">
10
{post.title}
11
</a>
12
</h4>
@@ -21,7 +21,7 @@ <h4>
21
{site.pageContent(post).stripHtml.wordLimit(75).raw}
22
</p>
23
{/if}
24
- <a href="{post.data.link.or(post.url)}" {#if post.data.link}target="_blank" {/if}>
25
{#if post.data.link.contains("youtube")}Watch Video >{#else}Read More >{/if}
26
27
</div>
0 commit comments