xstevenyung / fresh-seo

The fastest way ⚡️ to create sitemap and robots.txt in your Deno Fresh project 🍋
MIT License
49 stars 5 forks source link

Started working on new plugin remake #23

Closed notangelmario closed 1 year ago

notangelmario commented 1 year ago

Well, time to revive this project!

Fresh has finally implemented the ability for plugins to create routes, so this makes implementing fresh-seo look less like it's built with duct tape.

In my opinion we should keep the old functionality for backwards compatibility.

Other things to do:

notangelmario commented 1 year ago

Oh yeah, I should've created the pull request as a draft but it is what it is.

include and exclude should also be an array of routes and options of those routes.

And yeah, the init process should be removed, but it shouldn't interfere with old setups.

notangelmario commented 1 year ago

Alright I think it's pretty much done. Anything to add?

xstevenyung commented 1 year ago

lfg! thx for the update, excited to finally have the plugin api implemented