New major version plans #18
jlarmstrongiv
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Support strings for all locale functionsResolve Added slug utility function #14AddgetLocaleUrl(input: URL | string, locale)
helper to easily switch languagesUse Virtual Modules to automatically detect thedefaultLocale
for helper functions andtrailingSlash
to automatically join and normalize paths(with Is the "base" option from the Astro configuration supported? #17)Documentation https://vitejs.dev/guide/api-plugin.html#virtual-modules-conventionExample https://github.com/withastro/starlight/blob/main/packages/starlight/integrations/virtual-user-config.ts#L10Types https://github.com/withastro/starlight/blob/904b574ee9415f9a9641c89f5c9277158ded5902/packages/starlight/virtual.d.ts#L9Usage https://github.com/search?q=repo%3Awithastro%2Fstarlight%20virtual%3Astarlight%2Fuser-css&type=codeProvide helpers for Astro Content Collections, like filteringgetCollection
and slug forgetEntry
Astro.url
access still neededbase
andpaginate
from the default blog examplepaginate
How to use for pages with pagination? #16base
Is the "base" option from the Astro configuration supported? #17Beta Was this translation helpful? Give feedback.
All reactions