From 7fc5639e556ee915d1ff5151ee440075d84a5575 Mon Sep 17 00:00:00 2001 From: nurRiyad Date: Thu, 8 Dec 2022 23:11:31 +0600 Subject: [PATCH] add category page Signed-off-by: nurRiyad --- content/ts/hellots.md | 19 ++++++++++++++++++- pages/category/[topic].vue | 5 +++++ pages/{category.vue => category/index.vue} | 0 pages/latest.vue | 6 ++++++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 pages/category/[topic].vue rename pages/{category.vue => category/index.vue} (100%) diff --git a/content/ts/hellots.md b/content/ts/hellots.md index 9406b0a..065db03 100644 --- a/content/ts/hellots.md +++ b/content/ts/hellots.md @@ -1 +1,18 @@ -# Hello ts +--- +title: Hello, World +author: riyad +date: 10:11:12 +category: js +summery: sdklfjsld +--- + +# Hi there! + +This Markdown file creates a page at `your-domain.com/page-1/` + +It probably isn't styled much, but Markdown does support: + +- **bold** and _italics._ +- lists +- [links](https://astro.build) +- and more! diff --git a/pages/category/[topic].vue b/pages/category/[topic].vue new file mode 100644 index 0000000..c9a2c2f --- /dev/null +++ b/pages/category/[topic].vue @@ -0,0 +1,5 @@ + diff --git a/pages/category.vue b/pages/category/index.vue similarity index 100% rename from pages/category.vue rename to pages/category/index.vue diff --git a/pages/latest.vue b/pages/latest.vue index 6f765e4..f9a1396 100644 --- a/pages/latest.vue +++ b/pages/latest.vue @@ -1,5 +1,11 @@ + +