This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/routes/links.vue

39 lines
858 B
Vue

<template>
<div>
<LinksNav/>
<section v-if="config.links.blog && !config.links.split">
<h2 class="mb-3">
<Icon v="pen-nib"/>
<T>links.blog</T>
</h2>
<BlogEntriesList :posts="posts"/>
</section>
<Links/>
<Recommended/>
<Socials/>
<LanguageVersions/>
<Support/>
<section>
<Share :title="$t('links.headerLong')"/>
</section>
</div>
</template>
<script>
import { head } from "../src/helpers";
export default {
async asyncData({app}) {
return {
posts: await app.$axios.$get(`/blog`),
}
},
head() {
return head({
title: this.$t('links.headerLong'),
});
},
};
</script>