Hide see all button on blog page
This commit is contained in:
parent
1ded5a4bb2
commit
c3526af06c
@ -2,7 +2,7 @@
|
|||||||
<section class="blog-recent">
|
<section class="blog-recent">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h3>Latest Articles</h3>
|
<h3>Latest Articles</h3>
|
||||||
<div class="all-articles">
|
<div class="all-articles" v-if="showAllArticlesButton">
|
||||||
<router-link :to="{ name: 'blog' }">All articles</router-link>
|
<router-link :to="{ name: 'blog' }">All articles</router-link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -64,6 +64,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
showAllArticlesButton: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.itemsPerPage = this.max;
|
this.itemsPerPage = this.max;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<container>
|
<container>
|
||||||
<split-content>
|
<split-content>
|
||||||
<template v-slot:main>
|
<template v-slot:main>
|
||||||
<blog-recent :paginate="true" :max="10" :summary="true"></blog-recent>
|
<blog-recent :paginate="true" :max="10" :summary="true" :showAllArticlesButton="false"></blog-recent>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:aside>
|
<template v-slot:aside>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user