Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
<div class="">
<div class="devto">
<h2>👨‍💻 Articles</h2>
<p class="subtext">Web development and ramblings about programming</p>
v-for="(article, index) in devToArticles"
<a :href="article.url">{{ article.title }} </a>
<p class="timestamp">
Posted on: {{ new Date(article.published_at).toDateString() }}
<div class="blogs">
<h2>📝 Blogs</h2>
<p class="subtext">Musings about life, wellbeing and fitness</p>
<div v-for="(blog, index) in blogs" :key="index" class="article">
<NuxtLink :to="`${blog.slug}`"> {{ blog.title }}</NuxtLink>
<p class="timestamp">
Posted on: {{ new Date( }}
<div class="archive">
<NuxtLink to="archive" tag="h1">🗄️ Archive</NuxtLink>
<p>Writings from my old blog. Awkward.</p>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({
async asyncData({ $axios, $content }) {
const devToArticles: DevTo.Article[] = await $axios.$get(
headers: { 'api-key': process.env.DEVTO_KEY },
const blogs = await $content('/').fetch()
return { devToArticles, blogs }
<style scoped>
.devto {
padding-top: 25px;
.blogs {
padding-top: 25px;
.article {
padding-top: 10px;
.timestamp {
font-size: 0.8em;
color: grey;
.subtext {
font-style: italic;
.archive {
padding-top: 10px;
.archive:hover {
text-decoration: underline;
cursor: pointer;