fix: wip blog by tag
This commit is contained in:
parent
b0f2e5dbb2
commit
3852e0ec03
@ -98,7 +98,16 @@ export default class TheHeader extends Vue {
|
|||||||
{
|
{
|
||||||
title: 'Blog',
|
title: 'Blog',
|
||||||
link: '/blog',
|
link: '/blog',
|
||||||
subMenu: []
|
subMenu: [
|
||||||
|
{
|
||||||
|
title: 'Tất cả bài viết',
|
||||||
|
link: '/blog'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Bài viết theo chủ đề',
|
||||||
|
link: '/tags'
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'eHandy Teams',
|
title: 'eHandy Teams',
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: How to code
|
title: How to code
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['VueJS', 'Nuxt', 'Frontend']
|
||||||
published: '2020-02-12'
|
published: '2020-02-12'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Optimize your website
|
title: Optimize your website
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['NodeJs', 'Nuxt', 'Optimize']
|
||||||
published: '2020-03-30'
|
published: '2020-03-30'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Deep folder Vue
|
title: Deep folder Vue
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS']
|
tags: ['vuejs']
|
||||||
published: '2020-01-12'
|
published: '2020-01-12'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Fisrt Blog Post eHandy
|
title: Fisrt Blog Post eHandy
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['Share', 'Nuxt']
|
||||||
published: '2021-01-30'
|
published: '2021-01-30'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Fisrt Blog Post eHandy
|
title: Fisrt Blog Post eHandy
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['Node', 'Nuxt']
|
||||||
published: '2021-03-30'
|
published: '2021-03-30'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Placeholder image shopify
|
title: Placeholder image shopify
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['Fun', 'Nuxt']
|
||||||
published: '2021-05-30'
|
published: '2021-05-30'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Shopify partner
|
title: Shopify partner
|
||||||
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
description: 'Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.'
|
||||||
image: 'http://placekitten.com/g/1920/1080'
|
image: 'http://placekitten.com/g/1920/1080'
|
||||||
tags: ['VueJS', 'Nuxt']
|
tags: ['VueJS', 'Shopify']
|
||||||
published: '2022-06-30'
|
published: '2022-06-30'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<section>
|
<section>
|
||||||
<h1>All tag</h1>
|
<div class="container">
|
||||||
<ul>
|
<h1 class="title is-3 mt-3 mb-3 is-flex is-justify-content-center is-align-items-center">
|
||||||
<li v-for="tag in tags" :key="tag" class="text-center mb-2">
|
All Tags
|
||||||
<nuxt-link
|
</h1>
|
||||||
:to="{ name: 'tags-tag', params: { tag: tag.toLowerCase() } }"
|
<ul class="columns">
|
||||||
class="text-4xl hover:underline"
|
<li v-for="tag in tags" :key="tag" class="column">
|
||||||
>
|
<nuxt-link
|
||||||
{{ tag }}
|
:to="{ name: 'tags-tag', params: { tag: tag.toLowerCase() } }"
|
||||||
</nuxt-link>
|
class="text-4xl hover:underline"
|
||||||
</li>
|
>
|
||||||
</ul>
|
{{ tag }}
|
||||||
|
</nuxt-link>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user