Closed kwatog closed 1 year ago
Haha, never mind. it's ok. The title is in the *.md file , eg:
---
date: 2021-06-30
title: some title here
tags:
- vitepress
- markdown
description: sss
---
like this,https://raw.githubusercontent.com/airene/vitepress-blog-pure/main/posts/vitepress-first.md
in '---' paragraph ,vitepress maybe call baseinfo , and it's aboult frontMatter markdown-it tech.
thanks, @airene , yeah. saw the frontmatter.
about the article, I realized it's the yearList which is from useYearSort(theme.value.posts).
I failed to trace properly.
thanks again. this rep is a great start in understanding theming in vitepress.
apologies for a stupid question but I'd like to know where article object is initiated. thanks!