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/blog.vue

33 lines
674 B
Vue
Raw Normal View History

2020-11-13 13:57:23 -08:00
<template>
2021-05-13 04:54:13 -07:00
<div>
<LinksNav/>
2021-06-23 10:25:56 -07:00
<h2>
<Icon v="pen-nib"/>
<T>links.blog</T>
</h2>
2021-08-19 11:12:13 -07:00
<BlogEntriesList :posts="posts"/>
2021-12-25 15:46:05 -08:00
<Separator icon="heart"/>
2021-05-13 05:13:51 -07:00
<Support/>
<section>
<Share :title="$t('links.blog')"/>
</section>
2020-11-13 13:57:23 -08:00
</div>
</template>
<script>
import { head } from "../src/helpers";
export default {
2021-06-23 10:25:56 -07:00
async asyncData({app}) {
return {
posts: await app.$axios.$get(`/blog`),
}
},
2020-11-13 13:57:23 -08:00
head() {
return head({
2021-05-13 04:54:13 -07:00
title: this.$t('links.blog'),
2020-11-13 13:57:23 -08:00
});
},
};
</script>