jbaubree / vite-ssg-sitemap Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
vite-ssg-sitemap: v0.1.4
The sitemap generated contains the index routes with /index
as part of the url. Usually one would just omit /index
.
<url>
<loc>http://localhost/index</loc>
<lastmod>2022-03-07T05:57:57.333Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
I couldn't find an option to adjust this, am I missing something?
Currently I haven't found a way to block some routes from appearing in the sitemap. I think it would be nice if we could decide to block individual routes or a group of routes.
I'm using this package to create a sitemap and robots.txt file for my website, it is working well except the part for i18n, because my formatting for i18n url does not match what you're using in the package, I can't get the right URLs.
Version: 0.3.1
<urlset>
<url>
<loc>http://localhost/index</loc>
<lastmod>2022-08-07T15:35:47.307Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
</urlset>
With the current configuration the robots.txt policies either agree or disagree for the whole website. Some websites might need more control to give hints to crawlers. It would be good if we could pass this options as a configuration for the plugin.
I went ahead and created a PR #4 as a proposal on how to handles this, I am not well versed in typescript but this could be an approximation on how to gain more control to generate the robots.txt file.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yml
actions/checkout v4
pnpm/action-setup v4
actions/setup-node v4
example/package.json
@vueuse/head 2.0.0
vue 3.4.38
vue-router 4.4.3
@vitejs/plugin-vue ^5.0.4
typescript ^5.4.5
vite ^5.2.11
vite-plugin-pages ^0.32.1
vite-ssg ^0.23.7
package.json
@antfu/eslint-config ^2.18.1
@types/node ^20.12.12
eslint ^9.3.0
eslint-plugin-format ^0.1.1
pkgroll ^2.1.1
pnpm ^9.1.2
sitemap-ts ^1.8.0
taze ^0.16.0
typescript ^5.4.5
vite ^5.2.11
vue-tsc ^2.0.19
pnpm 9.7.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.