mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-18 14:13:00 +05:30
6 lines
169 B
Svelte
6 lines
169 B
Svelte
<script lang="ts">
|
|
export let post: any;
|
|
</script>
|
|
|
|
<span>{post.plaintext.split(" ").slice(0, 20).join(" ") + "..."}</span>
|
|
<a href="/blog/{post.slug}">Read more...</a> |