49 lines
1.3 KiB
Vue
49 lines
1.3 KiB
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" details/>
|
|
</section>
|
|
<Endorsements/>
|
|
<Links/>
|
|
<AcademicLinks v-if="!config.links.split && config.links.academic.length > 0"/>
|
|
<Media v-if="!config.links.split && (config.links.mediaGuests.length > 0 || config.links.mediaMentions.length > 0)"/>
|
|
<Recommended/>
|
|
<Socials/>
|
|
<LanguageVersions/>
|
|
<section>
|
|
<h2 class="mb-3">
|
|
<Icon v="home-heart"/>
|
|
<T>footer.sibling</T>
|
|
</h2>
|
|
<Siblings/>
|
|
</section>
|
|
<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>
|