GithubHelp home page GithubHelp logo

xstevenyung / fresh-seo Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 5.0 80 KB

The fastest way โšก๏ธ to create sitemap and robots.txt in your Deno Fresh project ๐Ÿ‹

License: MIT License

TypeScript 100.00%
deno fresh seo sitemap typescript

fresh-seo's People

Contributors

electronicsarchiver avatar notangelmario avatar paulalndwhr avatar sinyo-matu avatar xstevenyung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fresh-seo's Issues

Plugin need to be tested

Look into Fresh.
It prepares a fixture(a stub Fresh server) to run the plugin and runs a test on that fixture.
I'm not sure if this way is the best practice, but I think it's cool to do some copy.

Allow for leading slash or not

At the moment, we rely on each and every routes added or removed to include a leading slash which can be confusing in some cases.

We should just allow for either cases.

โ€”

Created via Raycast

Readproof README

As a developer, I'm well versed with code; less with grammar. Happy to take any feedback on the README.

DayJS ESM Import Causing Dependency Conflicts

After running the setup I get errors with the DayJS Import. If I add this to the import map, the issues continue with "fresh/server.ts".

Console:
Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 16 routes and 0 islands.
error: Uncaught (in promise) TypeError: Relative import path "dayjs" not prefixed with / or ./ or ../ and not in import map from "https://deno.land/x/[email protected]/src/sitemap.ts"
at https://deno.land/x/[email protected]/src/sitemap.ts:7:17
await import(entrypoint);
^
at async dev (https://deno.land/x/[email protected]/src/dev/mod.ts:187:3)
at async file:///Users/collectedview/Documents/GitHub/collectedview2023/collectedview/dev.ts:5:1
Watcher Process finished. Restarting on file change...

Remove routes

Is there a way to remove full paths, like I would like to remove all routes from /api , they don't need to be in the sitemap. So something like sitemap.remove("/api/*"); and the * should include subfolders also. Is there something else I can do to remove them because yea the * part is not working :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.