docs: mark as featured and add search logic paragraph

This commit is contained in:
satnaing
2023-01-31 00:33:41 +06:30
parent d616a73c93
commit b9aa569e00
+5
View File
@@ -3,6 +3,7 @@ author: Sat Naing
pubDatetime: 2023-01-30T15:57:52.737Z
title: AstroPaper 2.0
postSlug: astro-paper-2
featured: true
ogImage: ""
tags:
- release
@@ -36,6 +37,10 @@ Contents are now fetched with `getCollection` function. No relative path to the
+ const postImportResult = await getCollection("blog");
```
### Modified Search Logic for better Search Result
In the older version of AstroPaper, when someone search some article, the search cirtea keys that will be searched are `title`, `description` and `headings` (heading means all the headings h1 ~ h6 of the blog post). In AstroPaper v2, only `title` and `description` will be searched as the user types.
### Renamed Frontmatter Properties
The following frontmatter properties are renamed.