From 8122bb0b59ac0bf73d14255fb43c6612e8463aae Mon Sep 17 00:00:00 2001 From: Sergey Bedritsky Date: Thu, 3 Jun 2021 16:01:17 +0300 Subject: [PATCH] fix: split Blog template into components (#368) --- .../components/organisms/BlogpostCard.vue | 71 +++++++++++++++++ .../components/organisms/BlogpostList.vue | 30 +++++++ .../components/templates/Blog.vue | 78 +------------------ 3 files changed, 104 insertions(+), 75 deletions(-) create mode 100644 src/defaultTheme/components/organisms/BlogpostCard.vue create mode 100644 src/defaultTheme/components/organisms/BlogpostList.vue diff --git a/src/defaultTheme/components/organisms/BlogpostCard.vue b/src/defaultTheme/components/organisms/BlogpostCard.vue new file mode 100644 index 000000000..1a1fcef41 --- /dev/null +++ b/src/defaultTheme/components/organisms/BlogpostCard.vue @@ -0,0 +1,71 @@ + + + diff --git a/src/defaultTheme/components/organisms/BlogpostList.vue b/src/defaultTheme/components/organisms/BlogpostList.vue new file mode 100644 index 000000000..ff499881d --- /dev/null +++ b/src/defaultTheme/components/organisms/BlogpostList.vue @@ -0,0 +1,30 @@ + + + diff --git a/src/defaultTheme/components/templates/Blog.vue b/src/defaultTheme/components/templates/Blog.vue index 40367388d..ae666ae3d 100644 --- a/src/defaultTheme/components/templates/Blog.vue +++ b/src/defaultTheme/components/templates/Blog.vue @@ -16,64 +16,17 @@ dark:text-gray-100 " > - Blog + {{ page.title }} -
-
- -
- - -
- - - -
-
- - -
- -
-
-
- -
-
- -

{{ post.title }}

-
- -

{{ post.description }}

- - Read More → - -
-
-
+