帖子内容
speaking of updates, here's a (rather big) one for my website : blog search ! I wanted to do this since late 2024 and it's finally there :) a complete search system for my blog posts, with tag support and date filtering (before:, after:, at:; format YYYY-MM-DD, you can even search for YYYY-MM or just YYYY) tags work in a similar fashion (tag:x, tag:x,"something space" or chain multiple tag: together) + exact search ("exact words") there's a help button if you forget main blog posts got tags now and a proper description, telegram posts won't get tags and have a generated description (first 200 characters) all of that, without any server or 3rd party API currently we don't search on the full text but rather the provided description/generated excerpt if none exist also we have pagination and I ported some of the posts from here onto my website, but it takes so long 😭 last pro tip : you can manipulate URLs to perform quick searches. ex if you browse edm115.dev/blog/2025, you can see all posts from that year. works with month and day too :) blog route generation is also dynamic instead of manual, and pre rendering 380 routes takes 22 seconds so far. we optimize here boi 🚀 and btw all custom types are in a common place now finally, less font files are downloaded