From a6e7d42d845974785e6841e0eaea907fba5142d2 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Tue, 16 Jun 2020 15:27:06 +0200 Subject: [PATCH] Add footer to article --- src/components/blog/article-footer.svelte | 57 +++++++++++++++++++++++ src/routes/blog/[slug].svelte | 4 ++ src/routes/blog/index.svelte | 53 +-------------------- 3 files changed, 63 insertions(+), 51 deletions(-) create mode 100644 src/components/blog/article-footer.svelte diff --git a/src/components/blog/article-footer.svelte b/src/components/blog/article-footer.svelte new file mode 100644 index 0000000..4da81de --- /dev/null +++ b/src/components/blog/article-footer.svelte @@ -0,0 +1,57 @@ + + + + + diff --git a/src/routes/blog/[slug].svelte b/src/routes/blog/[slug].svelte index 7fc7b25..9e3f6dc 100644 --- a/src/routes/blog/[slug].svelte +++ b/src/routes/blog/[slug].svelte @@ -14,6 +14,8 @@ @@ -73,3 +75,5 @@
{@html post.body}
+ + diff --git a/src/routes/blog/index.svelte b/src/routes/blog/index.svelte index ccabc36..b287946 100644 --- a/src/routes/blog/index.svelte +++ b/src/routes/blog/index.svelte @@ -15,7 +15,7 @@