removed categories
This commit is contained in:
@@ -10,14 +10,7 @@
|
||||
</div>
|
||||
<div class="w-full md:w-5/6 text-center md:text-left md:pl-8 lg:pl-0">
|
||||
<h1 class="pb-0 mb-0 mt-0 text-4xl font-medium">{{ $page.author.name }}</h1>
|
||||
<section class="post-header container mx-auto px-0 mb-4 border-b">
|
||||
<span class="text-blue-500 font-medium uppercase tracking-wide text-sm">
|
||||
<g-link
|
||||
:to="$page.author.category.path"
|
||||
class="hover:underline"
|
||||
>{{ $page.author.category.title }}</g-link>
|
||||
</span>
|
||||
</section>
|
||||
|
||||
<p class="text-gray-700 text-xl" v-if="$page.author.bio">{{ $page.author.bio }}</p>
|
||||
<div class="author-social">
|
||||
{{ $page.author.belongsTo.totalCount }} Projects
|
||||
@@ -85,22 +78,6 @@
|
||||
query($id: ID!, $page:Int) {
|
||||
author(id: $id) {
|
||||
name
|
||||
category {
|
||||
id
|
||||
title
|
||||
path
|
||||
belongsTo(limit:4) {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
... on Blog {
|
||||
title
|
||||
path
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
path
|
||||
bio
|
||||
image(width:150, height:150)
|
||||
@@ -124,11 +101,6 @@
|
||||
timeToRead
|
||||
humanTime : created(format:"DD MMM YYYY")
|
||||
datetime : created
|
||||
category {
|
||||
id
|
||||
title
|
||||
path
|
||||
}
|
||||
author {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -3,12 +3,7 @@
|
||||
<div class="container sm:pxi-0 mx-auto overflow-x-hidden pt-20">
|
||||
<div class="lg:mx-32 md:mx-16 sm:mx-8 mx-4 pt-8">
|
||||
<section class="post-header container mx-auto px-0 mb-4 border-b">
|
||||
<span class="text-blue-500 font-medium uppercase tracking-wide text-sm">
|
||||
<g-link
|
||||
:to="$page.blog.category.path"
|
||||
class="hover:underline"
|
||||
>{{ $page.blog.category.title }}</g-link>
|
||||
</span>
|
||||
|
||||
<h1 class="text-5xl font-medium leading-none mt-0">{{ $page.blog.title}}</h1>
|
||||
|
||||
<div class="text-2xl pt-4 pb-10 text-gray-700 font-serif" v-html="$page.blog.excerpt"></div>
|
||||
@@ -106,22 +101,6 @@
|
||||
title
|
||||
path
|
||||
}
|
||||
category {
|
||||
id
|
||||
title
|
||||
path
|
||||
belongsTo(limit:4) {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
... on Blog {
|
||||
title
|
||||
path
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
author {
|
||||
id
|
||||
name
|
||||
@@ -141,10 +120,6 @@
|
||||
image(width:800)
|
||||
path
|
||||
timeToRead
|
||||
category {
|
||||
id
|
||||
title
|
||||
}
|
||||
author {
|
||||
id
|
||||
name
|
||||
@@ -159,10 +134,6 @@
|
||||
image(width:800)
|
||||
path
|
||||
timeToRead
|
||||
category {
|
||||
id
|
||||
title
|
||||
}
|
||||
author {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -55,10 +55,6 @@
|
||||
timeToRead
|
||||
humanTime : created(format:"DD MMM YYYY")
|
||||
datetime : created
|
||||
category {
|
||||
id
|
||||
title
|
||||
}
|
||||
author {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -101,10 +101,6 @@
|
||||
timeToRead
|
||||
humanTime : created(format:"DD MMM YYYY")
|
||||
datetime : created
|
||||
category {
|
||||
id
|
||||
title
|
||||
}
|
||||
user {
|
||||
id
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user