Update page.server.ts, Optimize the prompt words
Optimize the prompt words so that the AI summary skips the Front Matter part
WHAT
copilot:summary
copilot:poem
WHY
The original prompt might mistakenly identify the time in the Front Matter as part of the article content, such as in my article https://x.vriancao.top/a-simple-cf-workers-ai-example, where AI incorrectly recognized the time "May 1, 2024, 18:00:00" in the Front Matter as the time when Cloudflare launched Workers AI.
HOW
copilot:walkthrough
CLAIM REWARDS
https://x.vriancao.top/ Discord ID:vriancao
For first-time contributors, please leave your xLog address and Discord ID below to claim your rewards.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| xlog | ⬜️ Ignored (Inspect) | Visit Preview | Sep 14, 2024 11:33am |
📦 Next.js Bundle Analysis for xlog
This analysis was generated by the Next.js Bundle Analysis action. 🤖
🎉 Global Bundle Size Decreased
| Page | Size (compressed) |
|---|---|
global |
90.5 KB (-7 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
What if we do not have a front matter in the content?
What if we do not have a front matter in the content?
Here we are
Thanks, you can observe the effect in https://xlog.page after the deployment is completed